Create namespace & vpc
To install cert manager, you need to create a namespace and a vpc.
Copy kubectl create ns cert-manager
Create a YAML file cvpc-cert-manager.
Copy nano cvpc-cert-manager.yaml
Copy and paste the following YAML contents.
Copy apiVersion: tenants.cloudeka.ai/v1alpha2
kind: CloudekaVPC
metadata:
name: cert-manager
namespace: cert-manager
spec:
isolate: false
After 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.
Copy kubectl apply -f cvpc-cert-manager.yaml
Add helm repository
Add a Helm repository by running the following command.
Copy helm repo add jetstack https://charts.jetstack.io --force-update
Create values.yaml file from the helm repository
Copy helm show values cert-manager --repo https://charts.jetstack.io > values.yaml
Modify values.yaml file
Set resources cert manager.
Copy resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
Set resources webhook.
Copy webhook:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
Set resources cainjector.
Copy cainjector:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
Set resources startupapicheck.
Copy startupapicheck:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
Deploy cert-manager
Copy helm install cert-manager httpsjetstack/cert-manager --namespace ingress-nginx --values values.yaml