Chapter nineteenth analysis with you easily after blasting service mesh - istio profile in detail

Series:


Index List: nine analyze with you easily complete explosion istio Service Grid Tutorial Series

table of Contents

1 Introduction

2 istio 之 profile

3 istioctl profile

    3.1 demo

    3.2 minimal

    3.3 default

    3.4 empty

    3.5 remote

    3.6 separate

4 Summary


1 Introduction

        If you have any questions about the blog, please let me know.Screenshot 1.jpeg


2 istio 之 profile

        Before introducing istio profile, we first introduce the telecommunications package:image2.png

        When we went to open mobile telecommunications services, mobile phone packages usually choose different mobile phone packages offer different value-added services. As shown above, each package is a profile. Concept provided in the profile istioctl installation istio Similarly, different profile defines a control plane istio different behavior.


3 istioctl profile

        Use the following command to view istioctl profile:

istioctl profile list

        Execution results as shown below:image3.png

3.1 demo

        demo profile for educational purposes only, not suitable as a production environment. The profile will install ingressgateway, egressgateway, istio-pilot istio like components while installed grafana, istio-tracing, kiali, prometheus other external plug. Use the following command to view the demo profile of istio installation configuration list:

istioctl profile dump demo

        From dump out profile, the most important thing is two configurations: plugins and components. Refers to external third-party plug-in is dependent on, for example grafana, kiali, prometheus, tracing; refers istio component parts of itself, such citadel, egressgateway, ingressgateway, pilot, policy, sidecarInjector, telemetry and so on. As shown in the screenshot below:clipboard4.pngspacer.gif

        Information portion of the assembly shown in the following screenshot:clipboard5.png

        Summary demo profile assembly, the switch insert the information shown in the screenshot below, wherein X represents a turn or plug components:clipboard6.png

3.2 minimal

        minimal profile just opened a pilot assembly, other components or plug-ins are closed, you can view the details by following command:

istioctl profile dump minimal > minimal.yaml

        As shown below, minimal plug are closed:clipboard7.png

        Only the pilot component is turned state:clipboard8.png

        Meet the official description, as shown below:clipboard9.png

3.3 default

        default is the official recommended istio installation profile. It did in the choice of the most appropriate components and plug-ins, such as assembly only opened ingressgateway, pilot, plug-in only opened prometheus. As shown below:clipboard10.png

3.4 empty

        empty profile will not turn on any components or plug-ins. The profile of the role is to provide a clean template for experienced istio user custom configuration.

3.5 remote

        remote profile in actual use situation is rare. The profile provides shared control plane to operate multi-cluster service grid. remote assembly profile provided by the official, the insert is described as shown below, but the I according to the actual observation, found inaccurate, particularly marked in the following diagram:clipboard11.png

        The ingress-gateway dump the components should be in the ON state:clipboard12.png

        dump out of the pilot assembly should be in the open state:clipboard13.png

3.6 separate

        The official claimed that separate profile in future versions to be discarded, so directly pass it over the bar. We all live hard enough, and do not give yourself the trouble.


4 Summary

        Each profile provided when installed istioctl This subsection describes istio, already covered 90% of the work on the scene. But some technical small show still will not be satisfied, then the follow-up brother will continue to provide a method to configure a custom installation, continue to follow the footsteps of nine analysis, together we relaxed after blasting istio.

Guess you like

Origin blog.51cto.com/14625168/2479111