Code Monkey home page Code Monkey logo

advanced-kubernetes-bootcamp's Introduction

advanced-kubernetes-bootcamp

Cloud Next 2018 -- Advanced Kubernetes Bootcamp code & config

Contains Kubernetes manifests from the Weaveworks microservices demo application.

advanced-kubernetes-bootcamp's People

Contributors

ameer00 avatar danisla avatar henrybell avatar marcjoha avatar mrtrustor avatar stop777 avatar wardharold avatar

Stargazers

 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

advanced-kubernetes-bootcamp's Issues

Project settings for the cluster deployment

From the readme I understand that the dm-setup folder's code ensures Google Deployment Manager running in one project deploys GCP resources in another project.

Something that I could not catch hold of is

  1. How do you set the target project details where the cluster would need to get deployed ?

statsd-prom-bridge crashloobbackoff

Hi
I have tried to install clusters based in dm-setup. I am attaching the istio-system pods and output of statsd

pamir_erdem@advanced-kubernetes-215013:~ kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE
istio-citadel-7bdc7775c7-zpv7n 1/1 Running 0 5h
istio-egressgateway-795fc9b47-g6jtj 1/1 Running 0 5h
istio-ingress-84659cf44c-mkpxl 1/1 Running 0 5h
istio-ingressgateway-7d89dbf85f-xxf7q 1/1 Running 0 5h
istio-pilot-66f4dd866c-fxnmh 2/2 Running 0 5h
istio-policy-76c8896799-j7mwn 2/2 Running 0 5h
istio-sidecar-injector-645c89bc64-mlczt 1/1 Running 0 5h
istio-statsd-prom-bridge-949999c4c-2kt2d 0/1 CrashLoopBackOff 66 5h
istio-telemetry-6554768879-qlbsn 2/2 Running 0 5h
prometheus-86cb6dd77c-vrtqs 1/1 Running 0 5h
pamir_erdem@advanced-kubernetes-215013:~$ kubectl logs -n istio-system istio-statsd-prom-bridge-949999c4c-2kt2d
statsd_exporter: error: unknown short flag '-s', try --help

[DM Setup] When DM is created->deleted->created, VM SA binding is left around

This is likely a bug in DM or the way we are setting up the IAM binding.

If you create the DM template and then delete it, the service account for the student VM is deleted but the role binding on the project still exists. When the deployment is created again the binding is not updated to point to the new SA (with the same name).

error while setting up DM

I received this error while going through the DM setup:

googlece5877_student@cloudshell:~/advanced-kubernetes-bootcamp/dm-setup (qwiklabs-gcp-f9008da2cc63b81c)$ gcloud deployment-manager deployments create --config workshop.yaml adv-bc-$(date +%s)
The fingerprint of the deployment is EWIlUgcwxyLmlSYvyuOy9A==
Waiting for create [operation-1530022889459-56f8c36d30d39-5af38a2c-952c9943]...failed.
ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1530022889459-56f8c36d30d39-5af38a2c-952c9943]: errors:

  • code: RESOURCE_ERROR
    location: /deployments/adv-bc-1530022888/resources/student-vm-21561737771-waiter
    message: '{"ResourceType":"runtimeconfig.v1beta1.waiter","ResourceErrorCode":"504","ResourceErrorMessage":"Timeout
    expired."}'

could not create deployments

Hi,
The command below creates 3 kubernetes clusters and does not create necessary pods and deployments like istio prometheus spinnaker
gcloud deployment-manager deployments create --config workshop.yaml adv-bc-$(date +%s)

Also i deleted all service accounts associated with dm's deployment. Are there any additional tasks to do? When you delete service accounts only prometheus is deployed. Could you please assist me to re create the lab environment in the same project.

regards.

[module 3] Premium Stackdriver account required

A premium (i.e. non-trial) Stackdriver account is needed for module 3 (at least) -- double-check and confirm that the Qwiklab environment provides this. Recording this here so it doesn't get lost.

[module 2] Spinnaker UI inaccessible from Student VM

From cloudshell it is trivial to run an ssh tunnel to the Spinnaker UI port, and connect directly via the browser -- from the Student VM this is not achievable in the same way because kubectl port-forward listens on local ports only so cannot be accessed remotely.

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.