- Connect to your cluster
bx cs cluster-config cascon-2017-cluster
- View cluster details with
bx cs cluster-get cascon-2017-cluster
- You can view details in the UI as well. For example. https://console.bluemix.net/containers-kubernetes/clusters/1283cb87a6364855ad8985640505f8cd/nodes?env_id=ibm%3Ayp%3Aus-south
- Create a simple micro-service from nginx and deploy to Private registry
bx cr login bx cr namespace-add cascon2017 bx cr image-list cd my-nginx docker build -t registry.ng.bluemix.net/cascon2017/my-nginx:1.0.0 . docker push registry.ng.bluemix.net/cascon2017/my-nginx:1.0.0 bx cr image-list cd ..
- You can create a Helm release for your project's stack. For example:
helm create sample-stack-2
- Deploy the stack with the following command
helm lint ./sample-stack --strict helm install ./sample-stack --name sample-stack-2
- Edit the my-nginx service and rebuild/push to registry
cd my-nginx docker build -t registry.ng.bluemix.net/cascon2017/my-nginx:2.0.0 . docker push registry.ng.bluemix.net/cascon2017/my-nginx:2.0.0 bx cr image-list cd ..
- Edit service and deploy a new version of the chart
helm list helm upgrade sample-stack-2 ./sample-stack helm list helm history sample-stack-2
- Rollback to previous version
helm rollback sample-stack-2 1
cascon-k8s's Introduction
cascon-k8s's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.