- Launch app using github repo
- oc new-app [--name <optional name>] <git repo.git>
- also:
- oc new-app <image name> [... other options]
- oc new-app --image=<some registry> [... other options]
- oc new-app --template=<template name> [... other options]
- Troubleshoot errors (private repo)
- oc status
- oc status --suggest
- oc logs -f <pod name> [<container name>]
- if more than one container in pod, must specify pod name
- oc describe pod <pod name>
- Make repo public then restart build
- oc start-build <build config name>
- oc get bc
- Monitor app and pods for status of app (waiting for crash loop in pod status)
- oc get pods
- oc status
- oc get all
- Troubleshoot build issues again (rename to app.py)
- Re-run build command
- oc start-build ...
- Demonstrate port forwarding to container
- oc port-forward <pod name> <local port>:<remote port>
- view information about pods/containers to determine correct port
- Create route
- view information about pods/containers to determine correct port
- oc expose svc/<service name>
- View route info
- oc describe route
- Connect in browser
- Other commands to demonstrate
- oc edit <resource> (open resource file in editor)
- oc exec -h (execute command in container)
- oc get projects
- oc project <project name> (change projects)
- oc delete all --selector app=<app name> (clear out everything with specific label)
- oc get builds (view all builds, including failed)
- oc logs build/<app name-build number>
class-demo's Introduction
class-demo's People
Forkers
hariprabhanjanRecommend 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.