Installing Kubernetes agent on air-gapped cluster as DaemonSet

Here are the steps:

1 - On the host with internet access pull the needed Docker images:

docker login containers.instana.io -u _ -p <agent_key>​
docker pull instana/agent
docker pull instana/leader-elector

2 - Transfer those images to an air-gapped host (using scp or rsync)

3 - Download DaemonSet YAML file for k8s agent installation from your Instana UI and copy it to your air-gapped host

4 - Update the YAML file to use local docker images (it will try to pull from the docker hub by default).
imagePullPolicy: Never for both images
5 - Execute:
kubectl apply -f instana-agent.yaml

Have more questions? Submit a request

Comments