-
Notifications
You must be signed in to change notification settings - Fork 11
/
notes-argocd
45 lines (33 loc) · 863 Bytes
/
notes-argocd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
attention password : premier pods
kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2
ajout --insecure > deployment argocd-server
ingress
svc-dns
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: argo
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
kubernetes.io/ingress.class: nginx
#nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
#nginx.ingress.kubernetes.io/ssl-redirect: "false"
#nginx.ingress.kubernetes.io/ssl-passthrough: "true"
spec:
rules:
- host: argocd.kub
http:
paths:
- path: /
backend:
serviceName: argocd-dns
servicePort: 80
kind: Service
apiVersion: v1
metadata:
name: argocd-dns
spec:
type: ExternalName
externalName: argocd-server.argocd.svc.cluster.local
ports:
- port: 80