2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

immutableなfieldを解明するため、我々調査隊はkubernetesの奥地へと向かった…

kubernetesのimmutableなfieldをコードを読んで地道に探します

バージョン

kubernetes 1.23.1

使いそうなやつ

使いそう、は個人的な感覚です

  • apps
    • Daemonset.spec.selector
    • Deployment.spec.selector
    • ReplicaSet.spec.selector
    • Statefulset.spec
      • replicas template updateStrategy persistentVolumeClaimRetentionPolicy minReadySeconds 以外
  • batch
    • Job.spec.completions
    • Job.spec.selector
    • Job.spec.completionMode
    • Job.spec.template
  • core
    • PersistentVolume.spec.volumeMode
    • PersistentVolume.spec.nodeAffinity
    • PersistentVolumeClaim.spec.volumeMode
    • PersistentVolumeClaim.metadata.annotations."volume.beta.kubernetes.io/storage-class"
    • Secret.type
    • Service.spec.healthCheckNodePort
    • ExpandPersistentVolumesが無効の場合
      • PersistentVolumeClaim.spec
  • discovery.k8s.io
    • EndpointSlice.addressType
  • networking.k8s.io
    • IngressClass.spec.controller
  • scheduling.k8s.io
    • PriorityClass.preemptionPolicy

使わなそうなやつ

使わなそう、は個人的な感覚です

  • apps
    • ControllerRevisions.data
  • core
    • Event.involvedObject
    • Event.reason
    • Event.message
    • Event.source
    • Event.firstTimestamp
    • Event.lastTimestamp
    • Event.count
    • Event.type
    • Event.eventTime
    • Event.action
    • Event.related
    • Event.reportingController
    • Event.reportingInstance
    • ResourceQuota.spec.scopes
  • apiextensions.k8s.io
    • CustomResourceDefinition.spec.scope
    • CustomResourceDefinition.spec.names.kind
    • CustomResourceDefinition.spec.group
    • CustomResourceDefinition.spec.names.plural
  • storage.k8s.io
    • StorageClass.volumeBindingMode
    • CSIDriver.spec.attachedRequired
    • CSIDriver.spec.fsGroupPolicy
    • CSIDriver.spec.podInfoOnMount
    • CSIDriver.spec.volumeLifecycleModes
    • VolumeAttachment.spec
    • CSINode.spec.drivers
    • CSIStorageCapacity.nodeTopology
    • CSIStorageCapacity.storageClassName
    • StorageClass.parameters
    • StorageClass.provisioner
    • StorageClass.reclaimPolicy
  • node.k8s.io
    • RuntimeClass.handler

なんでまた

statefulsetのrevisionHistoryLimitが変えられないとか言われてカッとなってやった

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?