GithubHelp home page GithubHelp logo

ibm-cloud-architecture / learning-cloudnative-101 Goto Github PK

View Code? Open in Web Editor NEW
15.0 7.0 32.0 425.3 MB

IBM Cloud Native Bootcamp

Home Page: https://cloudnative101.dev

License: Apache License 2.0

JavaScript 55.53% Dockerfile 3.68% CSS 8.35% Shell 31.61% SCSS 0.82%

learning-cloudnative-101's Introduction

Cloud Native Bootcamp

The Cloud Native Bootcamp is released under the Apache-2.0 license GithubAction

Cloud Native Bootcamp

This course is designed to enable developers with the latest tools and techniques for developing cloud native applications.

The course materials can be viewed at- https://cloudnative101.dev/

git clone

Install dependencies

npm install

Local Development

After forking the repository, you can run your changes locally using the following:

npm run dev

You can access your local changes via localhost:8000.

Contributors

learning-cloudnative-101's People

Contributors

bkribbs15 avatar csantanapr avatar dependabot[bot] avatar flyingbarron avatar gerdwatmann avatar hemankita avatar mihainueleanuibm avatar osowski avatar seansund avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

learning-cloudnative-101's Issues

this might be a cool first day of Cloud Native Bootcamp

The bootcamp was a great firehose of info. Now that I've had time to practice what I learned and have contributed back to image-ibmcloud-dev I reflect back and think this might be a cool first day of Cloud Native Bootcamp

Install Docker

create oc url variable with you cluster url
read ocurl
create oc token variable, -s hides it and doesn't even show up in history
read -s octoken
Show how quickly a container helps you begin working without all the machine configuration
docker run --env ocurl=$ocurl --env octoken=$octoken -it --rm --name ibmcloud-dev quay.io/ibmgaragecloud/ibmcloud-dev

~ $ igc --version
1.23.0
~ $ tkn version
Client version: 0.20.0
~ $ oc login --server=$ocurl --token=$octoken
Logged into "https://****-*.us-south.containers.cloud.ibm.com:31185" as "IAM#*****@***.com" using the token provided.

You have access to 73 projects, the list has been suppressed. You can list all projects with 'oc projects'

Using project "default".
Welcome! See 'oc help' to get started.

startupProbe is missing in the list

I have found that:
https://cloudnative101.dev/lectures/kube-observability/#liveness-and-readiness-probes

...three options are named but only two listed:

The kubelet can optionally perform and react to three kinds of probes on running Containers:

livenessProbe: Indicates whether the Container is running. Runs for the lifetime of the Container.

readinessProbe: Indicates whether the Container is ready to service requests. Only runs at start.

I guess the startupProbe is missing here.

(anyway: I am a big fan of cloudnative101.dev! really helpful!)

Update minikube tekton lab sample to use LoadBalancer

Since we are using the same sample app in argocd lab, we should not patch it from NodePort to LoadBalancer, we should tell user to use minikube tunnel and access tekton dashboard via LoadBancer IP and also the deployed app at the end no NodePort need it.

Request to add links to Cloud Architecture Center from Cloud-Native Developer Bootcamp course

This is a request to add links to the following architecture pages from the Resources section of this course:
IBM Garage Cloud-Native Developer Bootcamp
https://cloudnative101.dev/course-overview/

Would you please consider adding the following links? Thank you!
https://www.ibm.com/cloud/architecture/architectures/cloud-native
https://www.ibm.com/cloud/architecture/architectures/public-cloud
https://www.ibm.com/cloud/architecture/architectures/private-cloud
https://www.ibm.com/cloud/architecture/architectures/devOpsArchitecture

Some links are not available.

The following links are not available.

Walkthroughs			
GitOps	Introduction to GitOps with OpenShift	[Learn OpenShift](https://learn.openshift.com/introduction/gitops-introduction/)	20 min
GitOps Multi-cluster	Multi-cluster GitOps with OpenShift	[Learn OpenShift](https://learn.openshift.com/introduction/gitops-multicluster/)	20 min

https://cloudnative101.dev/lectures/continuous-deployment/
https://github.com/ibm-cloud-architecture/learning-cloudnative-101/blob/master/src/pages/activities/index.mdx
https://github.com/ibm-cloud-architecture/learning-cloudnative-101/blob/master/src/pages/lectures/continuous-deployment/index.mdx

Edit this Page is not working on website

When visiting any of the pages https://csantanapr.github.io/cloudnative-learning-101/cloudnative-learning-101/1.0.0/index.html

There is an Edit this Page link on the top right of the page it doesn't have the correct reference to github url.

circleci is doing a checkout of the source code and building with source from local files on disk vs. an url reference.

If there is a way to specify in the site.yaml an override on how antora generates this link will be awesome to fix

Lab 4: Scale and Rollout Updates

Lab 3: rename to Deploy app on Kube

Lab 4: Update app on Kube

Scaling out your app

Show the current deployment with 1 pod

oc get deployment greetings-deployment

Let's scale to 3 pods

oc scale deployment greetings-deployment --replicas 3

Update your app

In another terminal watch the status

watch -d oc get deployment greetings-deployment

Update the deployment to new image tag ibmcase/greeting:2

oc set image deployment/greetings-deployment greeting=ibmcase/greeting:2

Get the status of the rollout

oc rollout status deployment/greetings-deployment 

Monitor the app for no down time

while loop curl $url

Ref: https://kubernetes.io/docs/reference/kubectl/cheatsheet/


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.