Difference between revisions of "ManagedFields:"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
* https://kubernetes.io/docs/reference/using-api/server-side-apply/
 
* https://kubernetes.io/docs/reference/using-api/server-side-apply/
<pre>
 
apiVersion: v1
 
kind: ConfigMap
 
metadata:
 
  name: test-cm
 
  namespace: default
 
  labels:
 
    test-label: test
 
  managedFields:
 
  - manager: kubectl
 
    operation: Apply
 
    apiVersion: v1
 
    time: "2010-10-10T0:00:00Z"
 
    fieldsType: FieldsV1
 
    fieldsV1:
 
      f:metadata:
 
        f:labels:
 
          f:test-label: {}
 
      f:data:
 
        f:key: {}
 
data:
 
  key: some value
 
</pre>
 
  
 +
apiVersion: v1
 +
[[kind: ConfigMap]]
 +
[[metadata:]]
 +
  name: test-cm
 +
  namespace: default
 +
  [[labels:]]
 +
    test-label: test
 +
  [[managedFields:]]
 +
  - [[manager:]] [[kubectl]]
 +
    operation: Apply
 +
    apiVersion: v1
 +
    time: "2010-10-10T0:00:00Z"
 +
    fieldsType: FieldsV1
 +
    [[fieldsV1]]:
 +
      f:metadata:
 +
        f:labels:
 +
          f:test-label: {}
 +
      f:data:
 +
        f:key: {}
 +
data:
 +
  key: some value
  
  
 +
== Related ==
 +
* [[Kubernetes Server-Side apply]]
  
{{K8s}}
+
 
 +
== See also ==
 +
* {{K8s}}
 +
 
 +
[[Category:K8s]]

Latest revision as of 13:26, 26 January 2023


apiVersion: v1
kind: ConfigMap
metadata:
  name: test-cm
  namespace: default
  labels:
    test-label: test
  managedFields:
  - manager: kubectl
    operation: Apply
    apiVersion: v1
    time: "2010-10-10T0:00:00Z"
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:test-label: {}
      f:data:
        f:key: {}
data:
  key: some value


Related[edit]


See also[edit]

Advertising: