Page cover

Install Cert Manager

Create namespace & vpc

To install cert manager, you need to create a namespace and a vpc.

kubectl create ns cert-manager

Create a YAML file cvpc-cert-manager.

nano cvpc-cert-manager.yaml

Copy and paste the following YAML contents.

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.

kubectl apply -f cvpc-cert-manager.yaml

Add helm repository

Add a Helm repository by running the following command.

helm repo add jetstack https://charts.jetstack.io --force-update

Create values.yaml file from the helm repository

helm show values cert-manager --repo https://charts.jetstack.io > values.yaml

Modify values.yaml file

nano values.yaml

Set resources cert manager.

resources:
  limits:
    cpu: 1
    memory: 1Gi
  requests:
    cpu: 1
    memory: 1Gi

Set resources webhook.

webhook:
  resources:
    limits:
      cpu: 1
      memory: 1Gi
    requests:
      cpu: 1
      memory: 1Gi

Set resources cainjector.

cainjector:
  resources:
    limits:
      cpu: 1
      memory: 1Gi
    requests:
      cpu: 1
      memory: 1Gi

Set resources startupapicheck.

startupapicheck:
  resources:
    limits:
      cpu: 1
      memory: 1Gi
    requests:
      cpu: 1
      memory: 1Gi

Deploy cert-manager

helm install cert-manager httpsjetstack/cert-manager --namespace ingress-nginx --values values.yaml

Last updated