cert-manager_install
Differences
This shows you the differences between two versions of the page.
| cert-manager_install [2025/07/26 17:09] – - Imported by DokuWiki Advanced Plugin wikiadm | cert-manager_install [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Cert-manager deployment ====== | ||
| - | <file bash> | ||
| - | $ kubectl apply -f https:// | ||
| - | customresourcedefinition.apiextensions.k8s.io/ | ||
| - | customresourcedefinition.apiextensions.k8s.io/ | ||
| - | customresourcedefinition.apiextensions.k8s.io/ | ||
| - | customresourcedefinition.apiextensions.k8s.io/ | ||
| - | customresourcedefinition.apiextensions.k8s.io/ | ||
| - | customresourcedefinition.apiextensions.k8s.io/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ helm repo add jetstack https:// | ||
| - | " | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ helm repo update jetstack | ||
| - | Hang tight while we grab the latest from your chart repositories... | ||
| - | ...Successfully got an update from the " | ||
| - | Update Complete. ⎈Happy Helming!⎈ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ helm install cert-manager --namespace cert-manager --create-namespace --version v1.8.0 jetstack/ | ||
| - | NAME: cert-manager | ||
| - | LAST DEPLOYED: Wed May 25 14:29:27 2022 | ||
| - | NAMESPACE: cert-manager | ||
| - | STATUS: deployed | ||
| - | REVISION: 1 | ||
| - | TEST SUITE: None | ||
| - | NOTES: | ||
| - | cert-manager v1.8.0 has been deployed successfully! | ||
| - | |||
| - | In order to begin issuing certificates, | ||
| - | or Issuer resource (for example, by creating a ' | ||
| - | |||
| - | More information on the different types of issuers and how to configure them | ||
| - | can be found in our documentation: | ||
| - | |||
| - | https:// | ||
| - | |||
| - | For information on how to configure cert-manager to automatically provision | ||
| - | Certificates for Ingress resources, take a look at the `ingress-shim` | ||
| - | documentation: | ||
| - | |||
| - | https:// | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl get crds | ||
| - | NAME CREATED AT | ||
| - | apiservers.operator.tigera.io | ||
| - | bgpconfigurations.crd.projectcalico.org | ||
| - | bgppeers.crd.projectcalico.org | ||
| - | blockaffinities.crd.projectcalico.org | ||
| - | caliconodestatuses.crd.projectcalico.org | ||
| - | certificaterequests.cert-manager.io | ||
| - | certificates.cert-manager.io | ||
| - | challenges.acme.cert-manager.io | ||
| - | clusterinformations.crd.projectcalico.org | ||
| - | clusterissuers.cert-manager.io | ||
| - | felixconfigurations.crd.projectcalico.org | ||
| - | globalnetworkpolicies.crd.projectcalico.org | ||
| - | globalnetworksets.crd.projectcalico.org | ||
| - | hostendpoints.crd.projectcalico.org | ||
| - | imagesets.operator.tigera.io | ||
| - | installations.operator.tigera.io | ||
| - | ipamblocks.crd.projectcalico.org | ||
| - | ipamconfigs.crd.projectcalico.org | ||
| - | ipamhandles.crd.projectcalico.org | ||
| - | ippools.crd.projectcalico.org | ||
| - | ipreservations.crd.projectcalico.org | ||
| - | issuers.cert-manager.io | ||
| - | kubecontrollersconfigurations.crd.projectcalico.org | ||
| - | networkpolicies.crd.projectcalico.org | ||
| - | networksets.crd.projectcalico.org | ||
| - | orders.acme.cert-manager.io | ||
| - | tigerastatuses.operator.tigera.io | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl get all -n cert-manager | ||
| - | NAME | ||
| - | pod/ | ||
| - | pod/ | ||
| - | pod/ | ||
| - | |||
| - | NAME | ||
| - | service/ | ||
| - | service/ | ||
| - | |||
| - | NAME READY | ||
| - | deployment.apps/ | ||
| - | deployment.apps/ | ||
| - | deployment.apps/ | ||
| - | |||
| - | NAME | ||
| - | replicaset.apps/ | ||
| - | replicaset.apps/ | ||
| - | replicaset.apps/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl edit service cert-manager -n cert-manager | ||
| - | $ kubectl edit service cert-manager-webhook -n cert-manager | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | ipFamilyPolicy: | ||
| - | ipFamilies: | ||
| - | - IPv6 | ||
| - | - IPv4 | ||
| - | </ | ||
| - | |||
| - | ===== Certificado de teste - staging ===== | ||
| - | <file yaml ClusterIssuer-staging.yaml> | ||
| - | apiVersion: cert-manager.io/ | ||
| - | kind: ClusterIssuer | ||
| - | metadata: | ||
| - | name: letsencrypt-staging | ||
| - | spec: | ||
| - | acme: | ||
| - | # You must replace this email address with your own. | ||
| - | # Let's Encrypt will use this to contact you about expiring | ||
| - | # certificates, | ||
| - | email: gean.martins@juntotelecom.com.br | ||
| - | server: https:// | ||
| - | privateKeySecretRef: | ||
| - | # Secret resource that will be used to store the account' | ||
| - | name: letsencrypt-staging | ||
| - | # Add a single challenge solver, HTTP01 using nginx | ||
| - | solvers: | ||
| - | - http01: | ||
| - | ingress: | ||
| - | class: nginx | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl apply -f ClusterIssuer-staging.yaml | ||
| - | clusterissuer.cert-manager.io/ | ||
| - | </ | ||
| - | |||
| - | <file bassh> | ||
| - | $ kubectl describe ClusterIssuer letsencrypt-staging | ||
| - | Name: | ||
| - | Namespace: | ||
| - | Labels: | ||
| - | Annotations: | ||
| - | API Version: | ||
| - | Kind: | ||
| - | Metadata: | ||
| - | Creation Timestamp: | ||
| - | Generation: | ||
| - | Managed Fields: | ||
| - | API Version: | ||
| - | Fields Type: FieldsV1 | ||
| - | fieldsV1: | ||
| - | f:metadata: | ||
| - | f: | ||
| - | .: | ||
| - | f: | ||
| - | f:spec: | ||
| - | .: | ||
| - | f:acme: | ||
| - | .: | ||
| - | f:email: | ||
| - | f: | ||
| - | .: | ||
| - | f:name: | ||
| - | f:server: | ||
| - | f:solvers: | ||
| - | Manager: | ||
| - | Operation: | ||
| - | Time: | ||
| - | API Version: | ||
| - | Fields Type: FieldsV1 | ||
| - | fieldsV1: | ||
| - | f:status: | ||
| - | .: | ||
| - | f:acme: | ||
| - | .: | ||
| - | f: | ||
| - | f:uri: | ||
| - | f: | ||
| - | .: | ||
| - | k: | ||
| - | .: | ||
| - | f: | ||
| - | f:message: | ||
| - | f: | ||
| - | f:reason: | ||
| - | f:status: | ||
| - | f:type: | ||
| - | Manager: | ||
| - | Operation: | ||
| - | Subresource: | ||
| - | Time: 2022-05-27T12: | ||
| - | Resource Version: | ||
| - | UID: | ||
| - | Spec: | ||
| - | Acme: | ||
| - | Email: | ||
| - | Preferred Chain: | ||
| - | Private Key Secret Ref: | ||
| - | Name: letsencrypt-staging | ||
| - | Server: | ||
| - | Solvers: | ||
| - | http01: | ||
| - | Ingress: | ||
| - | Class: | ||
| - | Status: | ||
| - | Acme: | ||
| - | Last Registered Email: | ||
| - | Uri: https:// | ||
| - | Conditions: | ||
| - | Last Transition Time: 2022-05-27T12: | ||
| - | Message: | ||
| - | Observed Generation: | ||
| - | Reason: | ||
| - | Status: | ||
| - | Type: Ready | ||
| - | Events: | ||
| - | </ | ||
| - | |||
| - | ===== Certificado de produção - production ===== | ||
| - | <file yaml ClusterIssuer-prod.yaml> | ||
| - | apiVersion: cert-manager.io/ | ||
| - | kind: ClusterIssuer | ||
| - | metadata: | ||
| - | name: letsencrypt-prod | ||
| - | spec: | ||
| - | acme: | ||
| - | # You must replace this email address with your own. | ||
| - | # Let's Encrypt will use this to contact you about expiring | ||
| - | # certificates, | ||
| - | email: gean.martins@juntotelecom.com.br | ||
| - | server: https:// | ||
| - | privateKeySecretRef: | ||
| - | # Secret resource that will be used to store the account' | ||
| - | name: letsencrypt-production | ||
| - | # Add a single challenge solver, HTTP01 using nginx | ||
| - | solvers: | ||
| - | - http01: | ||
| - | ingress: | ||
| - | class: nginx | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl apply -f ClusterIssuer-prod.yaml | ||
| - | clusterissuer.cert-manager.io/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl describe ClusterIssuer letsencrypt-prod | ||
| - | Name: | ||
| - | Namespace: | ||
| - | Labels: | ||
| - | Annotations: | ||
| - | API Version: | ||
| - | Kind: | ||
| - | Metadata: | ||
| - | Creation Timestamp: | ||
| - | Generation: | ||
| - | Managed Fields: | ||
| - | API Version: | ||
| - | Fields Type: FieldsV1 | ||
| - | fieldsV1: | ||
| - | f:metadata: | ||
| - | f: | ||
| - | .: | ||
| - | f: | ||
| - | f:spec: | ||
| - | .: | ||
| - | f:acme: | ||
| - | .: | ||
| - | f:email: | ||
| - | f: | ||
| - | .: | ||
| - | f:name: | ||
| - | f:server: | ||
| - | f:solvers: | ||
| - | Manager: | ||
| - | Operation: | ||
| - | Time: | ||
| - | API Version: | ||
| - | Fields Type: FieldsV1 | ||
| - | fieldsV1: | ||
| - | f:status: | ||
| - | .: | ||
| - | f:acme: | ||
| - | .: | ||
| - | f: | ||
| - | f:uri: | ||
| - | f: | ||
| - | .: | ||
| - | k: | ||
| - | .: | ||
| - | f: | ||
| - | f:message: | ||
| - | f: | ||
| - | f:reason: | ||
| - | f:status: | ||
| - | f:type: | ||
| - | Manager: | ||
| - | Operation: | ||
| - | Subresource: | ||
| - | Time: 2022-05-27T12: | ||
| - | Resource Version: | ||
| - | UID: | ||
| - | Spec: | ||
| - | Acme: | ||
| - | Email: | ||
| - | Preferred Chain: | ||
| - | Private Key Secret Ref: | ||
| - | Name: letsencrypt-production | ||
| - | Server: | ||
| - | Solvers: | ||
| - | http01: | ||
| - | Ingress: | ||
| - | Class: | ||
| - | Status: | ||
| - | Acme: | ||
| - | Last Registered Email: | ||
| - | Uri: https:// | ||
| - | Conditions: | ||
| - | Last Transition Time: 2022-05-27T12: | ||
| - | Message: | ||
| - | Observed Generation: | ||
| - | Reason: | ||
| - | Status: | ||
| - | Type: Ready | ||
| - | Events: | ||
| - | </ | ||
| - | ===== Referências ===== | ||
| - | - [[https:// | ||
| - | - [[https:// | ||
| - | - [[https:// | ||
cert-manager_install.1753560543.txt.gz · Last modified: by wikiadm
