Skip to content

Instantly share code, notes, and snippets.

@FreedomBen
Last active November 10, 2020 21:15
Show Gist options
  • Save FreedomBen/e58038474f1b903ff77b44ce8b0b68ed to your computer and use it in GitHub Desktop.
Save FreedomBen/e58038474f1b903ff77b44ce8b0b68ed to your computer and use it in GitHub Desktop.
$ oc new-project test-new-stuff
Now using project "test-new-stuff" on server "https://example.com:6443".
You can add applications to this project with the 'new-app' command. For example, try:
oc new-app ruby~https://github.com/sclorg/ruby-ex.git
to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:
kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node
$ oc project
Using project "test-new-stuff" on server "https://example.com"
$ oc get limitrange
NAME CREATED AT
test-new-stuff-limits 2020-09-16T22:37:39Z
$ oc get resourcequota
NAME AGE REQUEST LIMIT
test-new-stuff-quota 2m51s pods: 0/10, requests.cpu: 0/4, requests.memory: 0/8Gi limits.cpu: 0/6, limits.memory: 0/16Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment