Create Ingress with TLS
Create certificate
Create a YAML file certificate-test-dekagpu.
nano certificate-test-dekagpu.yamlCopy and paste the following YAML contents.
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: test-dekagpu-tls
namespace: default
spec:
dnsNames:
- test-dekagpu.cloudeka.id
issuerRef:
kind: ClusterIssuer
name: letsencrypt-prod
secretName: test-dekagpu-tlsAfter 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 configuration
kubectl apply -f certificate-test-dekagpu.yamlCreate ingress
Create a YAML file ingress-test-dekagpu.
Copy and paste the following YAML contents.
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 configuration.
Last updated
