Difference between revisions of "Kubernetes metadata"

From wikieduonline
Jump to navigation Jump to search
Line 37: Line 37:
  
 
== See also ==
 
== See also ==
* {{K8s}}
+
* {{kubectl label}}
 +
* {{Kubernetes labels}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Revision as of 16:55, 25 November 2022


apiVersion: batch/v1
kind: CronJob
metadata:
  name: hello
spec:
  schedule: "*/1 * * * *"
.../...
kind: PersistentVolumeClaim
metadata:
    name: YourVolumeName
.../...
.../...
metadata:
 labels:
.../...
apiVersion: v1
kind: ConfigMap
metadata:
  ...
data:
  ...
immutable: true


metadata:
  annotations:
    kubernetes.io/psp: eks.privileged


kind: Pod

See also

Advertising: