ingress
Less than 1 minute
ingress
prepare
- k8s is ready
- argocd is ready and logged in
installation
- prepare
ingress-nginx.yaml
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: ingress-nginx spec: syncPolicy: syncOptions: - CreateNamespace=true project: default source: repoURL: https://kubernetes.github.io/ingress-nginx chart: ingress-nginx targetRevision: 4.12.3 helm: releaseName: ingress-nginx values: | controller: image: registry: m.daocloud.io/registry.k8s.io service: enabled: true type: NodePort nodePorts: http: 32080 https: 32443 tcp: 8080: 32808 resources: requests: cpu: 100m memory: 128Mi admissionWebhooks: enabled: true patch: enabled: true image: registry: m.daocloud.io/registry.k8s.io metrics: enabled: false defaultBackend: enabled: false image: registry: m.daocloud.io/registry.k8s.io destination: server: https://kubernetes.default.svc namespace: basic-components
- apply to k8s
kubectl -n argocd apply -f ingress-nginx.yaml
- sync by argocd
argocd app sync argocd/ingress-nginx