5 favorite tools for improved log analytics

Stackdriver Logging, part of our set of operations management tools at Google Cloud, is designed to manage and analyze logs at scale to help you troubleshoot your hybrid cloud environment and gain insight from your applications. But the sheer volume of machine-generated data can pose a challenge when searching through logs. Through our years of working with Stackdriver Logging users, we’ve identified the easiest ways and best practices to get the value you need from your logs. We’ve collected our favorite tips for more effective log analysis and fast troubleshooting, including a few new features to help you quickly and easily get value from your logs: saved searches, a query library, support for partition tables when exporting logs to BigQuery, and more.1. Take advantage of the advanced query languageThe default basic mode for searching Stackdriver logs is using the drop-down menus to select the resource, log, or severity level. Though this makes it incredibly easy to get started with your logs, most users gravitate toward the advanced filter to ask more complex queries, as shown here:Some powerful tools in this advanced query mode include:Comparison operators:=           # equal!=          # not equal> < >= <=   # numeric ordering:           # “has” matches any substring in the log entry fieldBoolean operators: By default, multiple clauses are combined with AND, though you can also use OR and NOT (be sure to use upper case!)Functions: ip_in_net() is a favorite for analyzing network logs, like this:    ip_in_net(jsonPayload.realClientIP, “10.1.2.0/24″)Pro tip: Include the full log name, time range, and other indexed fields to speed up your search results. See these and other tips on speeding up performance.New queries library: We’ve polled experts from around Google Cloud to collect some of our most common advanced queries by use case including Kubernetes, security, and networking logs, which you can find in a new sample queries library in our documentation. Is there something different you’d like to see? Click the “Send Feedback” button at the top of the Sample Queries page and let us know.2. Customize your search resultsOften there is a specific field buried in your log entries that is of particular interest when you’re analyzing logs. You can customize the search results to include this field by clicking on a field and selecting “Add field to summary line.” You can also manually add, remove, or reorganize fields, or toggle the control limiting their width under View Options. This configuration can dramatically speed up troubleshooting, since you get the necessary context in summary. See an example here:3. Save your favorite searches and custom search results in your personal search libraryWe often hear that you use the same searches over and over again, or that you wish you could save custom field configurations for performing future searches. So, we recently launched a new feature that lets you save your searches, including the custom fields in your own library.You can share your saved searches with users who have permissions on your project by clicking on the selector next to Submit and then Preview. Click the Copy link to filter and share it with your team. This feature is currently in beta, and we’ll continue working on the query library functionality to help you quickly analyze your logs.4. Use logs-based metrics for dashboarding and alertingNow that you’ve mastered advanced queries, you can take your analysis to the next level with real-time monitoring using logs-based metrics. For example, suppose you want to get an alert any time someone grants access to an email address from outside your organization. You can create a metric to match audit logs from Cloud Resource Manager SetIamPolicy calls, where a member not under “my-org.com” domain is granted access, as shown here:With the filter set, simply click Create Metric and give it a name.To alert if a matching log arrives, select Create Alert From Metric from the three-dot menu next to your newly created user-defined metric. This will open a new alerting policy in Stackdriver Monitoring. Change the aggregator to “sum” and the threshold to 0 for “Most recent value” so you’ll be alerted any time a matching log occurs. Don’t worry if there’s no data yet, as your metric will only count log entries since it was created.Additionally, you can add an email address, Slack channel, SMS, or PagerDuty account and name, and save your alerting policy. You can also add these metrics to dashboards along with custom and system metrics.5. Perform faster SQL queries on logs in BigQuery using partitioned tablesStackdriver Logging supports sending logs to BigQuery using log sinks for performing advanced analytics using SQL or joining with other data sources, such as Cloud Billing. We’ve heard from you that it would be easier to analyze logs across multiple days in BigQuery if we supported partitioned tables. So we recently added this partitioned tables option that simplifies SQL queries on logs in BigQuery.When creating a sink to export your logs to BigQuery, you can either use date-sharded tables or partitioned tables. The default selection is a date-sharded table, in which a _YYYYMMDD suffix is added to the table name to create daily tables based on the timestamp in the log entry. Date-sharded tables have a few disadvantages that can add to query overhead:Querying multiple days is harder, as you need to use the UNION operator to simulate partitioning.BigQuery needs to maintain a copy of the schema and metadata for each date-named table.BigQuery might be required to verify permissions for each queried table.When creating a Log Sink, you can now select the Use Partitioned Tables option to make use of partitioned tables in BigQuery to overcome any issues with date-sharded tables.Logs streamed to a partitioned table use the log entry’s timestamp field to write to the correct partition. Queries on such ingestion-time partitioned tables can specify predicate filters on the _PARTITIONTIME or _PARTITIONDATE pseudo column to limit the amount of logs scanned. You can specify a range of dates using a WHERE filter, like this: WHERE _PARTITIONTIME BETWEEN TIMESTAMP(“20191101″) AND TIMESTAMP(“20191105″)Learn more about querying partitioned tables.Find out more about Stackdriver Logging, and join the conversation directly with our engineers and product management team.
Quelle: Google Cloud Platform

Shrinking the time to mitigate production incidents – CRE life lessons

Your pager is going off. Your service is down and your automated recovery processes have failed. You need to get people involved in order to get things fixed. But people are slow to react, have limited expertise, and tend to panic. However, they are your last line of defense, so you’re glad you prepared them for handling this situation.At Google, we follow SRE practices to ensure the reliability of our services, and here on the Customer Reliability Engineering (CRE) team, we share tips and tricks we’ve learned from our experiences helping customers get up and running. If you read our previous post on shrinking the impact of production incidents, you might remember that the time to mitigate an issue (TTM) is the time from when a first responder acknowledges the reception of a page to the time users stop feeling pain from the incident. Today’s post dives deeper into the mitigation phase, focusing on how to train your first responders so they can react efficiently under pressure. You’ll also find templates so you can get started testing these methods in your own organization.Understanding unmanaged vs. untrained responsesEffective incident response and mitigation requires effective technical people and proper incident management. Without it, teams can end up working on fixing technical problems in parallel instead of working together to mitigate the outage. Under these circumstances, actions performed by engineers can potentially worsen the state of the outage, since different groups of people may be undoing each other’s progress. This total lack of incident response management is what we referred to as “unmanaged.”Check out the Site Reliability Workbook for a real example of the consequences of the lack of proper incident management, along with a structure to introduce that incident management to your organization.Solving the problem of the untrained responseWhat we’ll focus on here is the problem that arises when the personnel responding to the outage are managed under a properly established incident response structure, but lack the training to effectively work through the response. In this “untrained” response, the response is coordinated and those responding know and understand their roles, but they lack the technical preparedness to troubleshoot the problem and identify the mitigation path to restore the service. Even if the engineers were once prepared, they can lose their edge if the service has a very low number of pages or if the on-call shifts for an individual are widely spaced in time.Other causes could be fast-paced software development or new service dependencies. Those can lead to the on-call engineers being unfamiliar with the tools and procedures needed to work through an outage. They know what they are supposed to be doing, but they just don’t know how to do it.How can we fix the untrained response to minimize the mean time to mitigation (MTTM)?Teaching response teams with hands-on activitiesThe way humans can cope with sudden changes in the environment, such as those introduced by an emergency, and have a measured response is by establishing mental models that help with pattern recognition. Psychologists call this “expert intuition,” and it helps when identifying underlying commonalities in situations that we have never faced before: “Hmm, I don’t recognize this specifically, but the symptoms we’re seeing make me think of X.”The best way to gain knowledge and, in turn, establish long-term memory and expert intuition, isn’t through one-time viewings of documents or videos. Instead, it’s through a series of exercises that include (but are not limited to) low-stakes struggles. These are situations with never-before-seen (or at least rarely seen) problems, in which failure to solve them will not have a severe impact on your service. These brain challenges help the learning process by practicing memory retrieval and increasing the neuro pathways that access memory, thus improving analytical capacity.At Google, we use two types of exercises to help our learning process: Disaster Recovery Testing (DiRT) and Wheel of Misfortune.DiRT, or how to get dirty The disaster recovery testing we perform internally at Google is a coordinated set of events organized across the company, in which a group of engineers plan and execute real and fictitious outages for a defined period of time to test the effective response of the involved teams. These complex, non-routine outages are performed in a controlled manner, so that they can be rolled back as quickly as possible by the proctors should the tests get out of hand.To ensure consistent behavior across the company, there are some rules of engagement that the coordinating team publishes, and every participating team has to adhere to. These rules include:Prioritizations, i.e., real emergencies take precedence over DiRT exercisesCommunication protocols for the different announcements and global coordinationImpact expectations: “Are services in production expected to be affected?”Test design requirements: all tests must include a revert/rollback plan in case something goes wrongAll tests are reviewed and approved by a cross-functional technical team, different from the coordinating team. One dimension of special interest during this review process is the overall impact of the test. It not only has to be clearly defined, but if there’s a high risk of affecting production services, the test has to be approved by a group of VP-level representatives. It is paramount to understand if a service outage is happening as a direct result of the test being run, or if something is out of control and the test needs to be stopped to fix the unrelated problem.Some examples of practical exercises include disconnecting complete data centers, disruptively diverting the traffic headed to a specific application to a different target, modifying live service configurations, or bringing up services with known bugs. The resilience of the services is also tested by “disabling” people who might have knowledge or experience that isn’t documented, or removing documentation, process elements, or communication channels.Back in the day, Google performed DiRT exercises in a different way, which may be more practical for companies without a dedicated disaster testing team. Initially, DiRT comprised a small set of theoretical tests done by engineers working on user-facing services, and the tests were isolated and very narrow in scope: “What would happen if access to a specific DNS server is down?” or “Is this engineer a single point of failure when trying to bring this service up?”How to start: the basicsOnce you embrace the idea that testing your infrastructure and procedures is a way to learn what works and what does not, and use the failures as a way of growing, it is very tempting to go nuts with your tests. But doing so can easily create too many complications in an already complex system.To avoid the initial unnecessary overhead of interdependencies, start small with service-specific tests, and evolve your exercises, analyzing which ones provide value and which ones don’t. Clearly defining your tests is also important, as it helps to verify if there are hidden dependencies: “Bring down DNS” is not the same as “Shut down all primary DNS servers running in North America data centers, but not the forwarding servers.” Forwarding rules may mask the fact that all the DNS servers are down but the clients are sending DNS queries to external providers.Over the years, your DiRT tests will naturally evolve and increase in size and scope, with the goal of identifying weaknesses in the interfaces between services and teams. This can be achieved, for instance, by failing services in parallel, or by bringing down entire clusters, buildings, geographical domains, cloud zones, network layers, or similar physical or logical groupings.What to test: human learningAs we described earlier, technical knowledge is not everything. Processes and communications are also fundamental in reducing the MTTM. Therefore, DiRT exercises should also test how people organize themselves and interact with each other, and how they use the processes that have previously been established for the resolution of emergencies. It’s not helpful to have a process to purchase fuel for a long-running generator working during an extensive power outage if nobody knows the process exists, or where it is documented.Once you identify failures in your processes, you can put in place a remediation plan. Once the remediation plan has been implemented and a fix is in place, you should make sure the fix is effective by testing it. After that, expand your tests and restart the cycle. If you plan to introduce a DiRT-style exercise in your company, you can use this Test Plan Scenario template to define your tests.Of course, you should note that these exercises can produce accidental user-facing outages, or even revenue loss. During a DiRT exercise, as we are operating on production services, an unknown bug can potentially bring an entire service to a point in which recovery is not automatic, easy, or even documented.We think the learning value of DiRT exercises justifies the cost in the long term, but it’s important to consider whether these exercises might be too disruptive. There are, fortunately, other practices that can be used without creating a major business disruption. Let’s describe the other one we use at Google, and how you can try it.Spinning the Wheel of MisfortuneA Wheel of Misfortune is a role-playing scenario to test techniques for responding to an emergency. The purpose of this exercise is to learn through a purely simulated emergency, using a traditional role-playing setup, where engineers walk through the steps of debugging and troubleshooting. It provides a risk-free environment, where the actions of the engineers will have no effects in production, so that the learning process can be reinforced through low-stakes struggles.The use of scenarios portraying both real and fictitious events also allow the creation of complete operational environments. These scenarios require the use of skills and bits of knowledge that might not be used otherwise, helping the learning process by exposing the engineers to real—but rarely occurring—patterns to help build a complete mental model.If you have played any role-playing game, you probably already know how it works: a leader such as the Dungeon Master, or DM, runs a scenario where some non-player characters get into a situation (in our case, a production emergency) and interact with the players, who are the people playing the role of the emergency responders.Running the scenarioThe DM is generally an experienced engineer who knows how the services work and interact in order to respond to the operations requested by the player(s). It is important that the DM knows what the underlying problem is, and the main path to mitigate its effects. Understanding the information the consoles and dashboards would present, the way the debugging tools work, and the details of their outputs all add realism to the scenario, and will avoid derailing the exercise by providing information and details that are not relevant to the resolution.The exercise usually starts with the DM describing how the player(s) becomes aware of the service breakage: an alert received through a paging device, a call from a call-center support person, an IM from a manager, etc. The information should be complete, and the DM should avoid holding back information that otherwise would be known during the real scenario. Information should also be relayed as it is without any commentary on what it might mean.From there, the player should be driving the scenario: They should give clear explanations of what they want to do, the dashboards they want to visualize, the diagnostic commands they want to run, the config files they want to inspect, and more. The DM in turn should provide answers to those operations, such as the shape of the graphs, the outputs of the different commands, or the content of the files. Screenshots of the different elements (graphs, command outputs, etc.) projected on a screen for everybody to see should be favored over verbal descriptions.It is important for the DM to ask questions like “How would you do that?” or “Where would you expect to find that information?” Exact file system paths or URLs are not required, but it should be evident that the player could find the relevant resource in a real emergency. One option is for the player to do the investigation for real by projecting their laptop screen to the room and looking at the real graphs and logs for the service.In these exercises, it’s important to test not only the players’ knowledge of the systems and their troubleshooting capacity, but also the understanding of incident command procedures. In the case of a large disaster, declaring a major outage and proceeding to identify the incident commander and the rest of the required roles is as important as digging to the bottom of the root cause.The rest of the team should be spectators, unless specifically called in by the DM or the player. However, the DM should exercise veto power for the sake of the learning process. For example, if the player declares the operations lead is another very experienced engineer and calls them in, with the goal of unloading all the troubleshooting operations, the DM could indicate that the experienced engineer is trapped inside a subway car without cell phone reception, and is unable to respond to the call.The DM should be literal in the details: If a page has a three-minute escalation timeout and has not been acknowledged after the timeout, escalate to the secondary. The secondary can be a non-player who then calls the player on the phone to inform them about the page. The DM should also be flexible in the structure. If the scenario is taking too long, or the player is stuck on one part, allow suggestions from the audience, or provide hints through non-player observations.Finally, once the scenario has concluded, the DM should state clearly and affirmatively (if so) that the situation is fixed. Allow some time at the end for debriefing and discussion, explaining the background story that led to the emergency and indicating the contributors to the situation. If the scenario was based on a real outage, the DM can provide some factual details of the context, as they usually help understand the different steps that led to the outage.To make the process of bootstrapping the exercises easier, check out the Wheel of Misfortune template we’ve created that can help you with your Wheel of Misfortune preparation.Putting it all togetherThe people involved in incident response directly affect the time needed to recover from an outage, so it’s important to prepare teams as well as systems. Now that you’ve seen how some testing and learning methods work, try them out for yourself. In the next few weeks, try running a simple Wheel of Misfortune with your team. Choose (or write!) a playbook for an important alert, and walk through it as if you were solving a real incident. You might be amazed at steps that seem obvious that need documenting.Check out these resources to learn more:SRE workbookDisaster Recovery Testing TemplateWheel Of Misfortune Template
Quelle: Google Cloud Platform

Cloud modernization: Cultural and workplace adoption

Genuine digital transformation requires cloud modernization strategies that involve and affect people, processes and technology. In part one of this two-part series, I focused on cloud-based technologies that enable organizations to modernize infrastructures, platforms and applications.
This time around, I’ll examine the people aspect of cloud modernization and include some thoughts on process. I’ll cover:

Why it’s necessary to refresh and reskill your workforce
Why organizational restructuring is important
How to reengineer people and process
How to measure employee value in an era of transformation

The most effective digital modernization initiatives are holistic efforts that coordinate people, processes and technologies to improve business outcomes.
Refresh and reskill the workforce
Running IT operations in a cloud environment requires a different set of skills and knowledge than a traditional application development world. This is because application and platform architectures are so dissimilar. Therefore, different engineering practices and design patterns will become relevant.
Consider the microservices architecture, in which a single application is made up of many small, loosely coupled and independently scalable and deployable components. If one service goes down, the same service can pop up 10 different times. Or what about 12-factor application methodologies for building cloud-based services — developers and designers need to understand these and ingrain them into the design.
Concepts like these weren’t that relevant in traditional application development. Understanding of a traditional infrastructure doesn’t necessarily translate to a cloud environment. For a cloud modernization initiative to succeed, enterprises must teach employees how to design, test and deploy native cloud-ready applications — or hire new employees who can.
The cloud model also calls for consuming more and more best-of-breed software-as-a-service (SaaS) capabilities provided and managed by third-party vendors. This also exacerbates the notion of consolidated service-level agreements and integrated service management skills in a multicloud environment. These are very hard-to-find skills.
Restructure the organization
The notion of development best practices and operational excellence isn’t new. So why are concepts like DevSecOps so highly talked about now? The answer has more to do with organization than technology.
Five years from now, we may be laughing at the technology we have today. But whatever technology we’re using, we’ll want development and operations teams to be tightly integrated. In the microservices architecture, you own the end-to-end lifecycle of the service or domain. That’s very different from how traditional infrastructure IT teams work.
Cloud computing is increasingly managed by self-sustaining independent teams, each with their own specialties and organized around billing, claims or similar domains. There’s a squad lead. There’s a business analyst. There are a few designers and a few developers. There are probably some testers. There’s a DevOps engineer, or maybe a site reliability engineer (SRE). Each is part of the total squad — and squads can be replicated. As the industry matures, it’ll continue to trend toward that model.
Another trend in organizational restructuring is the growing adoption of centers for enablement. Centers of excellence or competencies are nothing new; centers for enablement are more hands-on and dynamic, focusing not on process but on performance and reuse of assets.
Adopt new rules and process reengineering
Site reliability engineering is all about building highly resilient applications and platforms. If a service suddenly goes down, other services remain working because they are independent. So, if a feature on an airline app stops working, users can still look at current flights or their airline bonus points because the problem is isolated.
The widespread use of automation and robotics has spawned a discipline called AIOps, which is revolutionizing service management. Enterprises initially took a reactive approach to monitoring systems and handling events. With new technology available, enterprises can be proactive about monitoring and management. AIOps allows organizations to be prescriptive: They can know what your systems and instrumentation will look like six months from now because the AI perceives trends and patterns.
Measure people and performance
In a traditional IT development, developers are evaluated using metrics such as the number of defects in a kilo line of code (KLOC). But is this metric relevant in cloud-based development? Wouldn’t a more valuable metric be the amount of time from ideation to deployment? And what about the percentage of a developer’s time spent on building automation, or the number of reusable IT assets produced by individuals or squads? The idea is to use metrics that truly measure business value.
In a nirvana stage, mean time to recover a system should trend closely to time taken from ideation to deployment. This means the method and processes used for new requirements are exactly the same as those being used for bug fixes or other types of defects. They’re all treated as items in a prioritized list and will be consumed, built, packaged and deployed in exactly the same way.
Half measures simply won’t cut it. Digital modernization requires a cloud-first and automation-first strategy that emphasizes coordination between people, processes and technologies.
Learn more about IBM organizational change management services, as well as how guidance, migration, modernization, cloud-native application development and managed services from IBM professionals can help your journey to cloud.
The post Cloud modernization: Cultural and workplace adoption appeared first on Cloud computing news.
Quelle: Thoughts on Cloud

Microservices-Based Application Delivery with Citrix and Red Hat OpenShift

Microservices-Based Application Delivery with Citrix and Red Hat OpenShift

This is a guest post by Pushkar Patil. He is a Principal Product Manager, at Citrix Systems, Inc.
 
Citrix is thrilled to have recently achieved Red Hat OpenShift Operator Certification (Press Release). This new integration simplifies the deployment and control of the Citrix Application Delivery Controller (ADC) to a few clicks through an easy-to-use Operator.
Before we dive into how you can use Citrix Operators to speed up implementation and control in OpenShift environments, let me cover the benefits of using the Citrix Cloud Native Stack and how it solves the challenges of integrating ingress in Kubernetes.
Benefits of Citrix Cloud Native Stack
 
A purpose built software stack addressing the needs of various stakeholders like Developers, DevOps, DevSecOPs, SREs and Cluster Admin. The picture below shows the components of the stacks.

Citrix ADC is a feature-rich, application delivery controller that enhances the delivery and security of your microservices applications. Some of the key benefits include:
Production Grade Ingress 
Citrix ADC is proven to work at scale, providing features like advanced load balancing, TLS termination, L3-L7 protocol optimizations, and redundancy solutions to the internet’s largest web properties and thousands of enterprises.
Flexible
Citrix ADC support architecture flexibility – Citrix has a complete array of ADC form factors for every environment (physical, virtual, containerized, bare metal and cloud) for inside and outside your cluster. 
Agile
Better Developer experience – Citrix ADC uses CRDs to deliver features like Content Rewrite/Responder and now uses operators to improve lifecycle management of Citrix Ingress Controller and Citrix ADC CPX
Monitoring 
Citrix Cloud Native Stack readily integrates with open source tools like Prometheus, Grafana, Kibana and many more.
Deep visibility and Troubleshooting 
Citrix ADM with Service Graphs provides actionable insight into the health and performance of applications and offers proactive troubleshooting for any issues.
Automated
Citrix ADC provides a REST API (NITRO) which integrates with an automation framework, e.g. Ansible, Puppet, Chef etc. This allows application development and DevOps teams to enable allocation of new ADC services, on-demand as part of their application deployment workflow. The teams can develop application templates for advanced ADC functionality with simplified configuration specific to an individual application.
Elastic
Pooled Capacity provides the ability to share ADC capacity across all Citrix ADC form factors across a datacenter and/or cloud, to ease migration of workloads
 
Challenges running Ingress in OpenShift:
 
Kubernetes as an  application development and deployment platform is excellent, but getting requests into and out of the cluster does present challenges. Shortcomings include:
Migrating legacy applications to OpenShift
Previously, applications were written to use the TCP/UDP networking protocols. Kubernetes ingress objects don’t support TCP, TCP-SSL or UDP 
Failover handling
Because the ingress is the access point for traffic to the cluster,  it should continue to serve customers without any downtime if a disaster results in the cluster being unavailable.
Consistent ingress on premises and in the cloud
Microservices can be deployed on-prem and on public cloud and having inconsistent ingress mechanisms across locations adds complexity to operations.              
External access from/to outside OpenShift cluster
The ability to seamlessly integrate into existing networking fabrics without additional hops or network re-architecture increases efficiency
Security configuration
Ability to support security with SSL, mTLS is of great significance when it comes to Ingress solutions. 
Rolling upgrades
To upgrade without disruption is vital for production environments
How Citrix ADC makes OpenShift ingress easier to implement
Citrix Operators are a secret sauce which enable automation and lifecycle management of Citrix ADC and Citrix Ingress Solution for OpenShift clusters.  It wraps the logic for deploying and operating a Citrix ADC operations using Kubernetes construct. More specifically, Citrix Operators directly address the challenges of ingress within Kubernetes. 
Citrix Operators enable:

Deployment of the Citrix ADC and Ingress controller quickly and easily, for serving micro-services applications, including support for TCP/UDP protocols along with HTTP/HTTPS.
Citrix ADC to scale elastically and handle fail-over events without disruption.
Deployment of the Citrix Cloud Native Stack on any OpenShift Platform (OpenShift products) in any environment to bring a consistent approach to ingress.
Automation of security configuration with certificate and key management using Let’s Encrypt, or any other cert and key management application. 
Deployment in production OpenShift environments because it is tested and supported through Red Hat and Citrix. 
Citrix ADC and Ingress Controller to do software update automatically without disruption to the traffic. 

 
How do I use the Citrix operators?
Here we go through steps to use OpenShift Citrix Ingress Operator to configure Citrix ADC VPX in virtual machine form factor and resides outside the cluster. 
The rest of this blog describes the features of Citrix Operators that can be used to deploy and operate Citrix ADC in cloud-native environments.
Citrix Operator installation for Red Hat OpenShift overview:
There are 4 common ingress deployment models which customers commonly use with the Citrix Stack:
Two-Tier ingress – A CPX is deployed in a cluster behind the Citrix appliance to act as a DevOps friendly abstraction layer. This deployment needs CIC and CPX operator. 
Unified Ingress – The Citrix appliance is outside the cluster serving micro-services. This deployment would just need CIC operator.
Service-Mesh Lite – Provision a CPX instance(s) through which all microservices will communicate and one can have granular traffic management between your apps. This deployment needs both CIC and CPX operator.
Service Mesh – Citrix ADC can be injected as sidecar proxy to your applications and as a gateway to service mesh cluster.  This is not currently covered with Operators. We will be creating an operator in the future for this architecture.

CIC Operator
CPX Operator

Single Tier
Yes
No

Dual Tier
Yes
Yes

ServiceMesh lite
Yes
Yes

ServiceMesh
No
No

 
To learn more about the pros and cons of these deployment choice watch this CNCF webinar https://www.youtube.com/watch?v=OhWYoYAHukA
Here are the steps for using Unified Ingress deployment. There is a video that cover 2-tier ingress at the end of this blogs.
Steps 
Prerequisites

Access to the OpenShift Container Platform web console.

Procedure

Log in to the OpenShift Container Platform web console.
Navigate to Catalog → OperatorHub.
Type Citrix into the filter box to locate the Citrix Operator.
Click the Citrix Operator to display information about the Operator.
Click Install.
On the Create Operator Subscription page, select All namespaces on the cluster (default). This installs the Operator in the default openshift-operators project and makes the Operator available to all projects in the cluster.
Select the alpha Update Channel.
Select the Automatic Approval Strategy.
Click Subscribe.
The Subscription Overview page displays the Citrix Operator’s installation progress.

 
Once install is complete
Go to a project where you want to host CIC

Navigate to Installed Operators
Click on installed Citrix Ingress Controller  
In the Overview tab -> Create New
Edit nsIP field to point to Citrix ADC and update the license field to “yes”
Click create
Navigate to Workload -> Deployment and find the deployment of CIC
Verify the CIC pod is running and is connects to Citrix ADC upstream

 
Exposing Application:

Create service of application: Navigate to Networking > Services > Create Service
Create ingress for apache application: Navigate to Networking > Ingress > Create Ingress
Update VIP of Citrix ADC in the ingress configuration and apply

 
Get started by viewing this Technical Video to deploy 2-tier architecture using Operators: https://youtu.be/TqSJ6z7wIw0 

The post Microservices-Based Application Delivery with Citrix and Red Hat OpenShift appeared first on Red Hat OpenShift Blog.
Quelle: OpenShift