Giter Site home page Giter Site logo

eon01 / kubernetes-workshop Goto Github PK

View Code? Open in Web Editor NEW
3.2K 57.0 243.0 887 KB

โš™๏ธ A Gentle introduction to Kubernetes with more than just the basics. ๐ŸŒŸ Give it a star if you like it.

Home Page: https://medium.com/faun/a-gentle-introduction-to-kubernetes-4961e443ba26

Dockerfile 16.54% Python 83.46%
docker kubernetes minikube python ambassador kubernetes-deployment kubernetes-api kubernetes-apis kubernetes-service kubernetes-cluster

kubernetes-workshop's People

Contributors

amlestin avatar dtuite avatar eon01 avatar jamesscottbrown avatar johnchildren avatar landonwilkins avatar matthewrkula avatar mjgtwo avatar salhernandez avatar shibasisp avatar simon-barton avatar t0masd avatar zhouzhiyong18 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kubernetes-workshop's Issues

Please give proper photo credit

The illustrations you put to this repository say

(photo credit:medium.com/google-cloud)

  1. they don't even link to a proper post
  2. the post you got it from has my name but you dropped it.

smh

Missing env vars in docker run command

In README.md there is the following command:

docker run --it  --name tgr -p 5000:5000 -e CLIENT_ID="xxxxxxx" -e CLIENT_SECRET="xxxxxxxxxxxxxxx" -e DEBUG="True" tgr

There is two issues with that:

  1. It should be -it, rather than --it, since the first one is invalid
  2. You also need to specify -e HOST="0.0.0.0" and -e PORT="5000" in order for the app to start.

Additionally, you might want to add:

  1. --rm flag
  2. When not explicitly passing a value for the env parameters (e.g. just -e CLIENT_ID) the values from the user's local environment are being used, which might be preferable (because easier), since the user sourced the .env file before anyway.

Use secrets for env variables?

I'm still quite new to Kubernetes, but I've read that Kubernetes secrets provide a way to securely pass credentials etc. to containers.
In kubernetes/api-deployment.yaml, CLIENT_ID etc. are hard-coded, which is probably not a good practice, since those files are mentioned to be committed to VCS. I'd like to have the workshop being extended in a way that it should how to properly handle such confidential variables ๐Ÿ™‚.

Problems with service-account.yaml

When I apply it, I still get the 403 when I run the curl command. When I check "Cluster Roles" in the dashboard, the role seems to be defined.

Thanks for an otherwise great resource! (Got me up and running with most of the stuff I need, without too much trouble.)

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.