Difference between revisions of "Kubectl describe certificates"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} kubectl describe certificate your-certname == See also == * {{kubectl get}} * {{cert-manager}} Category:K8s")
 
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
kubectl describe certificate your-certname
 
 
  
 +
 +
{{kubectl describe certificates events}}
 +
 +
 +
== Examples ==
 +
Name:        [[quickstart-example-tls]]
 +
Namespace:    grafana
 +
Labels:      app.kubernetes.io/instance=grafana
 +
              app.kubernetes.io/managed-by=Helm
 +
              app.kubernetes.io/name=grafana
 +
              app.kubernetes.io/version=10.3.1
 +
              helm.sh/chart=grafana-7.3.0
 +
Annotations:  <none>
 +
API Version:  [[cert-manager.io/v1]]
 +
[[Kind:        Certificate]]
 +
Metadata:
 +
  Creation Timestamp:  2024-02-13T18:17:18Z
 +
  Generation:          1
 +
  Owner References:
 +
    API Version:          networking.k8s.io/v1
 +
    Block Owner Deletion:  true
 +
    Controller:            true
 +
    Kind:                  Ingress
 +
    Name:                  grafana
 +
    UID:                  928cf30b-1e94-4281-8ac6-12312314324
 +
  Resource Version:        493953
 +
  UID:                    bf580a56-5509-438d-aa48-12312314324
 +
Spec:
 +
  Dns Names:
 +
    example.example.com
 +
  Issuer Ref:
 +
    Group:      cert-manager.io
 +
    Kind:      Issuer
 +
    Name:      letsencrypt-prod
 +
  Secret Name:  quickstart-example-tls
 +
    Usages:
 +
    digital signature
 +
    key encipherment
 +
Status:
 +
  Conditions:
 +
    Last Transition Time:        2024-02-13T18:17:18Z
 +
    Message:                    [[Issuing certificate as Secret does not exist]]
 +
    Observed Generation:        1
 +
    Reason:                      [[DoesNotExist]]
 +
    Status:                      True
 +
    Type:                        [[Issuing]]
 +
    Last Transition Time:        2024-02-13T18:17:18Z
 +
    Message:                    Issuing certificate as Secret does not exist
 +
    Observed Generation:        1
 +
    Reason:                      [[DoesNotExist]]
 +
    Status:                      False
 +
    Type:                        Ready
 +
  Next Private Key Secret Name:  quickstart-example-tls-jscb2
 +
Events:                          <none>
 +
 +
 +
 +
[[k log -n cert-manager]] cert-managerXXX
  
 
== See also ==
 
== See also ==
* {{kubectl get}}
+
* {{kind: Certificate}}
* {{cert-manager}}
 
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 11:55, 14 February 2024


 Events:
  Type    Reason     Age    From                                       Message
  ----    ------     ----   ----                                       -------
  Normal  Issuing    5m56s  cert-manager-certificates-trigger          Issuing certificate as Secret does not exist
  Normal  Generated  5m55s  cert-manager-certificates-key-manager      Stored new private key in temporary Secret resource "quickstart-example-tls-xswrs"
  Normal  Requested  5m55s  cert-manager-certificates-request-manager  Created new CertificateRequest resource "quickstart-example-tls-1"


Examples[edit]

Name:         quickstart-example-tls
Namespace:    grafana
Labels:       app.kubernetes.io/instance=grafana
             app.kubernetes.io/managed-by=Helm
             app.kubernetes.io/name=grafana
             app.kubernetes.io/version=10.3.1
             helm.sh/chart=grafana-7.3.0
Annotations:  <none>
API Version:  cert-manager.io/v1
Kind:         Certificate
Metadata:
  Creation Timestamp:  2024-02-13T18:17:18Z
  Generation:          1
  Owner References:
    API Version:           networking.k8s.io/v1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  Ingress
    Name:                  grafana
    UID:                   928cf30b-1e94-4281-8ac6-12312314324
  Resource Version:        493953
  UID:                     bf580a56-5509-438d-aa48-12312314324
Spec:
  Dns Names:
    example.example.com
  Issuer Ref:
    Group:      cert-manager.io
    Kind:       Issuer
    Name:       letsencrypt-prod
  Secret Name:  quickstart-example-tls
   Usages:
    digital signature 
    key encipherment
Status:
  Conditions:
    Last Transition Time:        2024-02-13T18:17:18Z
    Message:                     Issuing certificate as Secret does not exist
    Observed Generation:         1
    Reason:                      DoesNotExist
    Status:                      True
    Type:                        Issuing
    Last Transition Time:        2024-02-13T18:17:18Z
    Message:                     Issuing certificate as Secret does not exist
    Observed Generation:         1
    Reason:                      DoesNotExist
    Status:                      False
    Type:                        Ready
  Next Private Key Secret Name:  quickstart-example-tls-jscb2
Events:                          <none>


k log -n cert-manager cert-managerXXX

See also[edit]

Advertising: