Coder Social home page Coder Social logo

k9c's Introduction

k9c โ€“ Cloud9+kubectl container

This repository has build script and deployment manifest for a container that has Cloud9 IDE and kubectl installed (along with other handy packages), it's intended to be used for training/workshops, as it can run as a pod in cluster so all attendees need is a browser.

Deploy it to a GKE cluster (or other provider with functional storage and external load balancers):

kubectl create namespace ide 
kubectl create namespace ide-workspace
kubectl apply -f https://raw.github.com/errordeveloper/k9c/master/manifests/ide.yaml
kubectl apply -f https://raw.github.com/errordeveloper/k9c/master/manifests/traefik.yaml

Get exteral IP:

traefik_ip="$(kubectl get svc -n kube-system traefik -o jsonpath='{.status.loadBalancer.ingress[0].ip}{"\n"}')"

Next, open http://${traefik_ip}/ in your browser and login with username:password.

Have a great Kubernetes experience with Cloud9 in your cluster!

NOTE: it's mostly for training/workshops, at present it's not very secure โ€“ use it at your own risk.

k9c's People

Contributors

errordeveloper avatar stefanprodan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

k9c's Issues

revisit RBAC rules

We need a way to create namespaces without making a sacrifice of cluster security (or find a way to do things otherwise). The most important aspect is the protection of ide, kube-system and weave namespaces, so that user doesn't accidentally delete important pieces under their own feet.

Ingress controller with TLS

So that we can make it more secure, and provide some routing.

  • /ide => k9c:service/ide
  • /app/* => k9c:service/*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.