Install Cert Manager
Create namespace & vpc
To install cert manager, you need to create a namespace and a vpc.
kubectl create ns cert-managerCreate a YAML file cvpc-cert-manager.
nano cvpc-cert-manager.yamlCopy and paste the following YAML contents.
apiVersion: tenants.cloudeka.ai/v1alpha2
kind: CloudekaVPC
metadata:
name: cert-manager
namespace: cert-manager
spec:
isolate: falseAfter pasting the syntax, save the file by pressing Ctrl + O, then press the Enter key and exit the editor by pressing Ctrl + X. The next step is to apply this configuration.
kubectl apply -f cvpc-cert-manager.yamlAdd helm repository
Add a Helm repository by running the following command.
helm repo add jetstack https://charts.jetstack.io --force-updateCreate values.yaml file from the helm repository
helm show values cert-manager --repo https://charts.jetstack.io > values.yamlModify values.yaml file
nano values.yamlSet resources cert manager.
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1GiSet resources webhook.
webhook:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1GiSet resources cainjector.
cainjector:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1GiSet resources startupapicheck.
startupapicheck:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1GiDeploy cert-manager
helm install cert-manager httpsjetstack/cert-manager --namespace ingress-nginx --values values.yamlLast updated
