Skip to content

Latest commit

 

History

History
 
 

k9

Cloud9 IDE Kubernetes

Create the namespaces:

kubectl apply -f ./deploy/k9/k9-ns.yaml

Create a secret with the Git ssh key:

kubectl apply -f ./deploy/k9/ssh-key.yaml

Create the Git Server deployment and service:

kubectl apply -f ./deploy/k9/git-dep.yaml
kubectl apply -f ./deploy/k9/git-svc.yaml

Deploy Flux (modify fux-dep.yaml and add your weave token):

kubectl apply -f ./deploy/k9/memcache-dep.yaml
kubectl apply -f ./deploy/k9/memcache-svc.yaml
kubectl apply -f ./deploy/k9/flux-rbac.yaml
kubectl apply -f ./deploy/k9/flux-dep.yaml

Create the Cloud9 IDE deployment:

kubectl apply -f ./deploy/k9/

Find the public IP:

kubectl -n ide get svc --selector=name=ide

Open Cloud9 IDE in your browser, login with username/password and config git:

git config --global user.email "[email protected]" 
git config --global user.name "User"

Commit a change to podinfo repo:

cd k8s-podinfo
rm Dockerfile.build
git add .
git commit -m "test"
git push origin master