with one click
kubernetes-knowledge-patch
Kubernetes
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Kubernetes
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
AlmaLinux
Angular
Arch Linux
Astro
Auth.js
AWS SDK
| name | kubernetes-knowledge-patch |
| description | Kubernetes |
| license | MIT |
| version | 1.36.0 |
| metadata | {"author":"Nevaberry"} |
Use this skill before changing Kubernetes manifests, cluster configuration, controllers, scheduler plugins, node setup, or operational tooling. Start with the upgrade hazards below, then open the topic reference that matches the task.
| Reference | Topics |
|---|---|
| API extensibility and clients | CRDs, aggregated APIs, client-go, protobuf, serializers, streaming APIs |
| Control plane and observability | API server, watches, APF, feature gates, metrics, diagnostics, mixed-version proxy |
| Dynamic Resource Allocation | ResourceClaims, ResourceSlices, DRA drivers, sharing, health, binding, quotas |
| Kubectl and kubeadm | kuberc, KYAML, command changes, kubeadm endpoints, probes, arguments |
| Networking and Gateway API | Services, EndpointSlices, kube-proxy, Gateway API, Ingress migration |
| Nodes, runtimes, and kubelet | cgroup v2, runtime discovery, kubelet configuration, node capabilities, pressure |
| Security, identity, and admission | authentication, authorization, ServiceAccounts, Pod identity, admission, audit |
| Storage | PVs, CSI, snapshots, VolumeAttributesClass, image volumes, migration |
| Workloads and scheduling | Pods, containers, Jobs, controllers, HPA, resize, scheduling, workload APIs |
failCgroupV1: false plus an ignored kubeadm preflight error only as an explicit compatibility override, not a migration target.--pod-infra-container-image; leaving it configured prevents startup.--cloud-config and --register-schedulable. StreamingConnectionIdleTimeout is deprecated.cgroupDriver and --cgroup-driver selection are deprecated.resource.k8s.io/v1 for core DRA objects. Follow the reference migrations before carrying alpha DRA objects or partitionable-device data across upgrades.storage.k8s.io/v1 for VolumeAttributesClass and the v1beta1 StorageVersionMigration API; delete unsupported alpha objects first.admissionregistration.k8s.io/v1 for MutatingAdmissionPolicy; older beta storage may require migration.ProtoMessage() assumptions.k8s.io/kube-scheduler/framework and must implement the current preflight contracts.configmapsleases or endpointsleases to leases.--peer-ca-file before relying on mixed-version API-server proxying.--requestheader-allowed-names.nftables; IPVS is deprecated.trafficDistribution: PreferClose with PreferSameZone or PreferSameNode.Service.spec.externalIPs using LoadBalancer, NodePort, or Gateway API.gitRepo volumes with an init container or git-sync. The old feature-gate escape hatch is gone.kubectl exec POD -- COMMAND; the separator is required.kubectl debug to use the general profile unless another profile is selected.--show-events when describing multiple objects and related events are required.create on pods/exec, pods/attach, and pods/portforward; WebSocket access no longer succeeds with only get.PodReadyToStartContainers=True as proof that image pulling is complete.spec.containers[*].resources is desired state; container status reports actual resources. Submit CPU and memory changes through the resize subresource and inspect PodResizePending or PodResizeInProgress conditions.
kubectl edit pod <pod-name> --subresource resize
Memory reductions, swap, static CPU or Memory Manager policies, sidecars, init containers, and Pod-level resources have distinct restrictions. Read the workload reference before generating resize automation.
Pod-wide CPU, memory, and huge-page requests and limits can simplify multi-container scheduling and HPA calculations. They are unsupported on Windows, and topology-aware managers have version-dependent integration limits. A missing container limit in resourceFieldRef can fall back to the Pod-level limit.
spec:
resources:
requests:
cpu: "2"
memory: 4Gi
limits:
cpu: "4"
memory: 8Gi
initContainers entry with container-level restartPolicy: Always; it preserves init ordering, runs with the app, stops in reverse order, and does not block Job completion.lifecycle.stopSignal can override the image or runtime signal when the Pod declares its OS.backoffLimitPerIndex, maxFailedIndexes, FailIndex, and successPolicy.podReplacementPolicy: Failed to avoid overlapping a terminating Pod with its replacement.managedBy delegates Job reconciliation to an external controller but does not encode controller parameters.scheduling.k8s.io API and condition semantics.ResourceClaim is namespaced, reusable by multiple Pods, and manually managed.ResourceClaimTemplate creates one claim per Pod and deletes it with the Pod.spec.nodeName on DRA Pods. Use an exact hostname node selector so scheduling still allocates and reserves devices.Unknown and Unhealthy allocations appear in Pod status.imagePullCredentialsVerificationPolicy.impersonate rules./ and ~ in JSON Patch keys.host.supplementalGroupsPolicy: Strict prevents image /etc/group memberships from being merged.Use trafficDistribution rather than the old topology annotation. PreferSameNode requests node locality; PreferSameZone requests zone locality. Validate strict IP and CIDR forms, while accounting for relaxed Service-name rules.
BackendTLSPolicy, supported-feature status, and named route rules.gateway.networking.x-k8s.io and X-prefixed kinds; graduation requires object recreation under the stable identity.XListenerSet delegates listeners; XBackendTrafficPolicy defines retry budgets; XMesh advertises mesh ownership and capabilities.parentRefs.VolumeAttributesClass supports online CSI ModifyVolume operations and has a ResourceQuota scope.Delete reclaim policy removes backing storage regardless of PVC/PV deletion order.observedGeneration, and numeric schema formats enforce their declared ranges./flagz and /statusz structured output for authorized diagnostics; node log queries also require enableSystemLogQuery: true..kuberc; use its credential-plugin policy and allowlist where command overrides are shared.kubectl -o kyaml for less ambiguous Kubernetes-oriented output.