K8s: Difference between revisions
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
kubectl get service -n argocd | kubectl get service -n argocd | ||
kubectl port-forward -n argocd service/argocd-server 8080:80 | kubectl port-forward -n argocd service/argocd-server 8080:80 | ||
---- | |||
{| | |||
|valign='top'| | |||
kubectl get deployment -n argocd | |||
kubectl get configmap -n argocd | |||
kubectl get service -n argocd | |||
kubectl get secret -n argocd | |||
kubectl get event -n argocd | |||
kubectl get pod -n argocd | |||
|valign='top'| | |||
kubectl edit deployment -n argocd argocd-redis | |||
kubectl edit configmap -n argocd argocd-rbac-cm | |||
kubectl edit configmap -n argocd argocd-cm | |||
kubectl edit service -n argocd argocd-redis | |||
kubectl edit secret -n argocd argocd-secret | |||
kubectl edit pod -n argocd argocd argocd-app-ctrl-0 | |||
|valign='top'| | |||
kubectl get deployment -n argocd argocd-redis -o yaml | |||
kubectl get configmap -n argocd argocd-rbac-cm -o yaml | |||
kubectl get configmap -n argocd argocd-cm -o yaml | |||
kubectl get service -n argocd argocd-redis -o yaml | |||
kubectl get secret -n argocd argocd-secret -o yaml | |||
kubectl get pod -n argocd argocd-app-ctrl-0 -o yaml | |||
|} | |||
==Knowledge== | ==Knowledge== |
Revision as of 05:20, 24 May 2023
Kind
|
||
| ||
Volume
Argo CD
kubectl create namespace argocd kubectl get namespace -A kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml kubectl get pod -n argocd kubectl get service -n argocd kubectl port-forward -n argocd service/argocd-server 8080:80
kubectl get deployment -n argocd kubectl get configmap -n argocd kubectl get service -n argocd kubectl get secret -n argocd kubectl get event -n argocd kubectl get pod -n argocd |
kubectl edit deployment -n argocd argocd-redis kubectl edit configmap -n argocd argocd-rbac-cm kubectl edit configmap -n argocd argocd-cm kubectl edit service -n argocd argocd-redis kubectl edit secret -n argocd argocd-secret kubectl edit pod -n argocd argocd argocd-app-ctrl-0 |
kubectl get deployment -n argocd argocd-redis -o yaml kubectl get configmap -n argocd argocd-rbac-cm -o yaml kubectl get configmap -n argocd argocd-cm -o yaml kubectl get service -n argocd argocd-redis -o yaml kubectl get secret -n argocd argocd-secret -o yaml kubectl get pod -n argocd argocd-app-ctrl-0 -o yaml |
Knowledge
snap services maas snap services juju snap services lxd |
||
| ||
References
| ||
| ||