Deployments to your own Kubernetes
Connect a cluster once, and every project deploys its services to it from a pipeline or by hand. Each rollout is followed stage by stage, linked to the commits and issues it ships, and can be rolled back with a preview.
Environments
An environment connects a project to a namespace of the cluster: staging, production, or as many as you need. Each has its services, its deployments, its settings and its own secrets and parameters.
Add a service with its image, port and health path, or deploy the latest build of an existing one in a click. Most teams deploy from a pipeline instead.
Follow every rollout
A deployment goes through four stages: validate, migrate, roll out and observe. Its page shows the stages, the commits it brings into the environment, the issues linked to them, the manifests that were applied and what changed against the previous deployment.
The issue shows the other side of the same link: on its page you see where it was deployed.
Approvals and deploy windows
An environment can require approvals. A new deployment then waits until enough people allowed to deploy there approve it, and the person who started it cannot approve their own.
Deploy windows keep deployments inside the hours you choose: a deployment outside the window waits for the next one.
Run services without kubectl
Each service has its own page: whether it is healthy right now, its CPU and memory for the last hours, where the running version came from, and every deployment it had.
Read the live logs of a container, including the previous run where the reason for a crash usually is. Scale the service, restart it, set autoscaling, resources and the rollout strategy from the same page.
Connect your cluster
An organization admin connects a Kubernetes cluster with one command. A small agent in the cluster carries out deployments and reports the state of your services back.
Give the agent the whole cluster or only the namespaces you list, and choose which projects may create environments there. Preflight checks show what to fix before the first deploy.
Roll back with a preview
Before a rollback starts, you see what it does: the deployment you leave and the one you return to, the images before and after, the manifest changes, and the commits and issues that leave the environment.
Warnings that matter, such as changed volumes or resources, must be acknowledged first. Roll back to the last healthy deployment, or pick an earlier one.
Find out why a deployment failed
A failed deployment names the stage and the reason in plain words, with the end of the container log below.
Ask AI why it failed: it reads the deployment, its changes and its pipeline, names the most likely cause and the commit behind it, and offers the rollback preview. It does not roll back by itself.
Compare and promote
Put two environments side by side, for example staging and production, and see which services differ and how their settings differ. Promote what is ready from one to the other.
Questions about deployments
- Where do our services run?
- In your own Kubernetes cluster. Code4 connects to it through an agent you install, and deploys to the namespaces you allow.
- Can we deploy our own Kubernetes manifests?
- Yes. A deploy step can ship a service described by a few settings, or apply manifests you keep in the repository.
- Does a rollback bring back old secrets or the old database schema?
- No. Secrets are resolved again at rollback time with their current values, and the database schema is not managed by the platform, so check compatibility if migrations ran in between.
- Can an AI agent deploy on its own?
- An agent acts with the rights of the person who started it. Keep approvals on for the environments that matter: approvals given through an AI client are shown separately and an organization can choose not to count them.