This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| helm install stable/nginx-ingress --namespace=infra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl --namespace infra get service | |
| NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
| nginx-ingress-controller LoadBalancer 10.245.33.207 123.456.789.012 80:30867/TCP,443:30941/TCP 20d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| annotations: | |
| kubernetes.io/ingress.class: nginx | |
| name: test-ingress | |
| namespace: kube202 | |
| spec: | |
| rules: | |
| - host: nginx-test.do.sudermanjr.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| server_name nginx-test.do.sudermanjr.com ; | |
| listen 80; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| helm install --name external-dns --namespace kube-system stable/external-dns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| helm install --name cert-manager --namespace kube-system stable/cert-manager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: certmanager.k8s.io/v1alpha1 | |
| kind: ClusterIssuer | |
| metadata: | |
| name: letsencrypt-prod | |
| spec: | |
| acme: | |
| dns01: | |
| providers: | |
| - clouddns: | |
| project: gcp-project-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Conditions: | |
| Last Transition Time: 2018-11-02T18:36:47Z | |
| Message: The ACME account was registered with the ACME server | |
| Reason: ACMEAccountRegistered | |
| Status: True | |
| Type: Ready |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| annotations: | |
| kubernetes.io/ingress.class: nginx | |
| nginx.ingress.kubernetes.io/force-ssl-redirect: "true" | |
| certmanager.k8s.io/cluster-issuer: letsencrypt-prod | |
| name: test-ingress | |
| namespace: kube202 | |
| spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl --namespace kube202 get certificate | |
| NAME AGE | |
| test-https-cert 21d | |
| kubectl --namespace kube202 get secret | |
| NAME TYPE DATA AGE | |
| test-https-cert kubernetes.io/tls 2 21d |