Quickstart
Connect a Kubernetes cluster, create a project and an environment, and deploy your first service from a container image.
In this quickstart you deploy a public container image to a Kubernetes cluster you own. It takes about ten minutes, most of it while Kapten installs its agent on the cluster.
Before you start
- A Kapten account. Sign in at https://app.kapten.io with your email address: Kapten sends you a sign-in link, there is no password.
- A Kubernetes cluster, on AWS, Google Cloud or any other provider, and its kubeconfig file with cluster-admin rights. Kapten installs its agent with it.
Deploy your first service
Create your organization
The first time you sign in, Kapten asks you to name your organization. Everything you create belongs to it, and you can invite your team later.
Connect a cluster
Open Clusters, then Connect cluster. Give the cluster a name, pick its cloud provider, and upload its kubeconfig file.
Kapten installs its agent on the cluster. The cluster shows as connected after a few minutes. If it shows Bootstrap failed, see Connect a cluster.
Create a project
A project groups the services that ship together, like an app and its database. Click Create project and name it, for example storefront.
Add an environment
In the project, add an environment: name it production, choose the production type, and select the cluster you connected.
Deploy a service
In the environment, click Deploy a service and choose Container image. Enter:
| Field | Value |
|---|---|
| Name | web |
| Image | nginxinc/nginx-unprivileged |
| Tag | stable |
| Port | 8080, protocol HTTP |
Kapten deploys the service as soon as you create it. Open it to follow the deployment and read its logs.