Posts

Showing posts from July, 2021

Install opentracing with Jaeger in Kubernetes

# opentracing-jaeger This file will describe how to deploy Jaeger on Kubernetes [ See details ]( https://github.com/jaegertracing/helm-charts/tree/main/charts/jaeger ) Add the Jaeger Tracing Helm repository: ```bash helm repo add jaegertracing https://jaegertracing.github.io/helm-charts ``` Install with elasticsearch: ```bash helm install jaeger jaegertracing/jaeger \ --set provisionDataStore.cassandra=false \ --set storage.type=elasticsearch \ --set storage.elasticsearch.host=example.com \ --set storage.elasticsearch.port=12000 \ --set storage.elasticsearch.user=changeme \ --set storage.elasticsearch.password=changeme \ --set storage.elasticsearch.scheme=https ``` To install a ingress to point to `jaeger dashboard` : ```bash kubectl apply -f ingress.yaml ``` ---ingress-- apiVersion : extensions/v1beta1 kind : Ingress metadata : name : jaeger-agent namespace : opentracing annotations : kubernetes.io/ingress.class : nginx spec : rules : - host : jaeger.google-dev.com...

Kubernetes tutorial

 -deployment.yaml apiVersion : apps/v1 kind : Deployment metadata : name : speaker namespace : opentracing annotations : kubernetes.io/change-cause : Change /healthzs to /healthz spec : selector : matchLabels : app : speaker replicas : 1 template : metadata : name : speaker labels : app : speaker spec : containers : - name : speaker image : harbor. google .com/porta-test/speaker:1.1.0 imagePullPolicy : Always livenessProbe : httpGet : path : /healthz port : 8081 httpHeaders : - name : X-API-KEYS value : Awesome-12aswq123 initialDelaySeconds : 3 periodSeconds : 5 ports : - name : speaker containerPort : 8081 protocol : TCP env : - name : LOG_LEVEL_SETUP valueFrom : configMapKeyRef : name : env-config key...

Helm chart

helm search  - Search for charts in Helm Hub and Helm Repositories helm install  - Install charts into Kubernetes helm list  - List all releases of a given Kubernetes Namespace helm show  - Show information about a chart helm upgrade  - Upgrade a release to a new version of the underlying chart helm pull  - Download and extract a chart from Helm hub or a Helm repository helm repo  - Add, update, index, list, or remove chart repositories helm package  - Create an  tgz  archive for the chart in the current folder 1.  Install helm chart 2. helm list  để show các chart đã deployed trong cluster 3. helm instal my-chart chart  để cài đặt deploy 1 chart  4. helm delete chart-name  để xoá chart 5. helm search repo [name] để tìm repo theo name đã add vào cluster

public, private, protected in python

 https://www.geeksforgeeks.org/access-modifiers-in-python-public-private-and-protected/