Cicd documentation layout


Steps to access Grafana dashboard on Kubernetes by creating Grafana secret



Download 6.25 Mb.
Page32/39
Date15.06.2023
Size6.25 Mb.
#61535
1   ...   28   29   30   31   32   33   34   35   ...   39
CIcd

11.3. Steps to access Grafana dashboard on Kubernetes by creating Grafana secret:


  • First need to create Grafana secret as follows below:

Here Grafana Username and password also will set by first 2 lines.
GRAFANA_USERNAME=$(echo -n "GRAFANA_USERNAME" | base64)
GRAFANA_PASSPHRASE=$(echo -n “REPLACE_WITH_YOUR_SECURE_PASSWORD” | base64)
cat <apiVersion: v1
kind: Secret
metadata:
name: grafana
namespace: istio-system
labels:
app: grafana
type: Opaque
data:
username: $(echo -n "GRAFANA_USERNAME" | base64)
passphrase: $(echo -n “GRAFANA_PASSPHRASE” | base64)
EOF

  • To Access grafana dashboard:

kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=grafana -o jsonpath='{.items[0].metadata.name}') 3000:3000

11.4. Steps to access Kiali and Envoy dashboard on kubernetes by creating Kiali secret


  • First need to create Kiali secret as follows:

KIALI_USERNAME=$(echo -n “KIALI_USERNAME” | base64)
KIALI_PASSPHRASE=$(echo -n “REPLACE_WITH_YOUR_SECURE_PASSWORD” | base64)
cat <apiVersion: v1
kind: Secret
metadata:
name: kiali
namespace: istio-system
labels:
app: kiali
type: Opaque
data:
username: $(echo -n "KIALI_USERNAME" | base64)
passphrase: $(echo -n “REPLACE_WITH_YOUR_SECURE_PASSWORD” | base64)
EOF

  • To Access kiali dashboard:

kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001

  • To Access Envoy dashboard:

kubectl -n istio-system port-forward istio-ingressgateway-794db758d6-wdsm4 15000

12. How to build and create CICD multi-branch Pipeline


Download 6.25 Mb.

Share with your friends:
1   ...   28   29   30   31   32   33   34   35   ...   39




The database is protected by copyright ©ininet.org 2024
send message

    Main page