Catch cross-resource bugs offline.
Kix validates the entire cluster definition before anything touches Kubernetes, catching broken selectors, missing Secret keys, and label collisions at build time.
Cross-resource validation before apply
Kix checks the complete definition before applying it. If a Service points to no workload, for example, the error identifies the Service and the selector to check. Kix prevents other mistakes, such as a Deployment selector drifting from its pod labels, when it builds the resources.
Built-in security, reliability, and governance rules also run on every build. Their findings are warnings by default, and you can choose which rules stop a build.
kind: Servicemetadata: name: web namespace: shopspec: selector: app.kubernetes.io/name: shop-wbe ports: - port: 80 The Service has no endpoints, so traffic cannot reach the app.
| The everyday mistake | What Kubernetes does | What Kix says |
|---|---|---|
| Environment variable defined twice | Accepts it and uses the last value | ✗ [web] Container 'web' has duplicate env var name(s): [DATABASE_URL]. |
| Missing Secret key | Pod fails to start | ✗ secret "db" does not declare key "password"
declared keys: pass |
| Job reuses app labels | Routes traffic to the Job pod | ✗ Job shop/migrate pod labels {"app.kubernetes.io/instance":"web","app.kubernetes.io/name":"web"} satisfy Service shop/web selector {"app.kubernetes.io/instance":"web","app.kubernetes.io/name":"web"}; the Service would route traffic to the Job pod |
| Missing PriorityClass | Applies the workload, then rejects every pod | ✗ Deployment shop/web sets priorityClassName 'critical', which no resource in this cluster creates. Every pod of this workload would be rejected at admission. Add the PriorityClass, or declare it as externally managed with an import or kix.untrackedRef |
| PodDisruptionBudget matches no pods | Protects nothing during a node drain | ✗ PodDisruptionBudget shop/web selector {"app":"wbe"} matches no workload pod template in namespace shop. Check the selector against the intended workload's pod labels |
| LoadBalancer Service with no provider | External IP stays <pending> | ✗ [web] Service 'web' uses type=LoadBalancer but no load balancer provider is configured (cluster.roles.loadBalancer.binding = "absent", no provider instance). Use type=ClusterIP or NodePort, add a provider instance, or configure cluster.roles.loadBalancer.binding to match your environment. |