Controller and Agent Changes for 4.1.7
Prerequisite:
Configuration changes
1. Create ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: tcb-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod-argocd #update the value accordingly
cert-manager.io/issue-temporary-certificate: 'true'
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: GRPC
nginx.ingress.kubernetes.io/ssl-redirect: 'true'
spec:
tls:
- hosts:
- xxxx.xxx.xxxxx.xxx #update the value accordingly
secretName: controller-secret-tls-grpc #update the value accordingly
rules:
- host: xxxx.xxx.xxxxx.xxx #update the value accordingly
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: agent-grpc #update the value accordingly
port:
number: 9001
2. Edit agent-grpc service
3. Controller configmap changes:
Last updated