Coder Social home page Coder Social logo

vscode-kind's Introduction

Companion repository to https://medium.com/@jeremysf/visual-studio-code-github-codespaces-kubernetes-bonkers-c85acfee5148.

Navigate to https://github.com/codespaces and click “New codespaces”. When prompted, enter jeremysf/vscode-kind as the repository to start your new Codespace from.

Once your codespace is running, in the built-in terminal in Visual Studio Code, run the script:

$ ./create_k8s_cluster.sh

Boom. You now have a running Kubernetes cluster. Running, but um, empty.

Let’s populate it with some services. Run the script:

$ ./helm_upgrade.sh

A quick kubectl get services will show a bevy of running services:

$ kubectl get services
NAME                        TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                                 AGE
example-memcached           ClusterIP   10.96.146.238   <none>        11211/TCP                               44s
example-mysql               ClusterIP   10.96.180.46    <none>        3306/TCP                                44s
example-mysql-slave         ClusterIP   10.96.104.245   <none>        3306/TCP                                44s
example-nginx               NodePort    10.96.193.38    <none>        30000:30000/TCP,443:32242/TCP           44s
example-rabbitmq            ClusterIP   10.96.249.67    <none>        5672/TCP,4369/TCP,25672/TCP,15672/TCP   44s
example-rabbitmq-headless   ClusterIP   None            <none>        4369/TCP,5672/TCP,25672/TCP,15672/TCP   44s
example-redis-headless      ClusterIP   None            <none>        6379/TCP                                44s
example-redis-master        ClusterIP   10.96.106.94    <none>        6379/TCP                                44s
example-redis-slave         ClusterIP   10.96.181.250   <none>        6379/TCP                                44s
kubernetes                  ClusterIP   10.96.0.1       <none>        443/TCP                                 2m34s

Enjoy!

vscode-kind's People

Contributors

jeremysf avatar

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.