Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1000 crc delete; crc cleanup
- 1001 crc setup
- 1002 cd Downloads/
- 1003 crc start -p pull-secret -m 12288
- 1004 history | tail -15
- 1005 cd ..
- 1006 #tar xvf crc-linux-amd64.tar.xz
- 1007 cd crc-linux-1.39.0-amd64/
- 1008 ls
- 1009 ls -l
- 1010 cd
- 1011 crc setup
- 1012 #crc start -p pull-secret -m 12288
- 1013 ls
- 1014 cd Downloads/
- 1015 ls
- 1016 crc status
- 1017 crc console --credentials
- 1018 crc oc-env
- 1019 eval $(crc oc-env)
- 1020 oc login -u developer -p developer https://api.crc.testing:6443
- 1021 cd ..
- 1022 ls
- 1023 ex180/countdown 15
- 1024 oc whoami
- 1025 source <(oc completion bash)
- 1026 oc -h | less
- 1027 oc completion -h
- 1028 oc new-project demoone
- 1029 oc new-app --docker-image=mysql:latest --name=mysql-openshift -e MYSQL_USER=myuser -e MYSQL_PASSWORD=password -e MYSQL_DATABASE=mydb -e MYSQL_ROOT_PASSWORD=password
- 1030 oc status
- 1031 oc get all
- 1032 oc get pods -o wide
- 1033 oc new-project trouble
- 1034 oc create deploy failure --image=quay.io/bitnami/nginx
- 1035 oc get all
- 1036 history
- 1037 ex180/countdown 12
- 1038 history
- 1039 oc get all
- 1040 oc delete deploy failure
- 1041 oc get all
- 1042 oc create deploy failure --image=quay.io/bitnami/mariadb
- 1043 oc completion -h | less
- 1044 oc get all
- 1045 oc describe pod failure-5549f56c96-t7zhb | less
- 1046 oc logs failure-5549f56c96-t7zhb
- 1047 oc set -h
- 1048 oc set env -h | less
- 1049 oc get all
- 1050 oc set env deploy/failure MARIADB_ROOT_PASSWORD=password; oc get all
- 1051 oc get all
- 1052 oc new-project zerodown
- 1053 oc create deploy newginx --image=quay.io/bitnami/nginx:1.14 --replicas=5
- 1054 oc get all
- 1055 oc set -h | less
- 1056 oc set image -h | less
- 1057 oc set image deploy/newginx=nginx:latest
- 1058 oc set image -h | less
- 1059 oc set image deployments newginx=nginx:latest
- 1060 oc set image -h | less
- 1061 oc set image deploy/newginx nginx=nginx:latest
- 1062 oc get all
- 1063 oc logs newginx-69cfbcc689-kkj69
- 1064 oc projects
- 1065 crc console --credentials
- 1066 oc login -u kubeadmin -p ddz5S-7U8uj-PPL7L-xciuP https://api.crc.testing:6443
- 1067 oc get projects
- 1068 oc login -u developer -p developer https://api.crc.testing:6443
- 1069 oc projects
- 1070 oc project trouble
- 1071 oc projects
- 1072 oc run -h | less
- 1073 oc run nginx --image=nginx
- 1074 oc get pods
- 1075 oc get all
- 1076 oc delete pod failure-776b9b878-xpl4x
- 1077 oc get all
- 1078 oc delete pod nginx
- 1079 oc get all
- 1080 oc scale deploy failure --replicas=3
- 1081 oc get all
- 1082 oc api-resources | less
- 1083 oc get all
- 1084 oc describe pod failure-776b9b878-lhdq6
- 1085 oc new-project
- 1086 oc new-project newgin
- 1087 oc create deploy newgin --image=quay.io/bitnami/nginx
- 1088 oc get all
- 1089 oc scale deploy newgin --replicas=3
- 1090 oc get all
- 1091 oc get pods -o wide
- 1092 oc expose deploy newgin
- 1093 oc describe pod newgin-5454b4cd8b-692jh
- 1094 oc expose deploy newgin --port=80
- 1095 oc get all
- 1096 oc describe svc newgin
- 1097 oc expose -h | less
- 1098 oc expose service newgin
- 1099 oc get all
- 1100 curl newgin-newgin.apps-crc.testing
- 1101 oc get routes
- 1102 oc describe route newgin
- 1103 oc run bginx --image=bitnami/nginx --dry-run=client -o yaml
- 1104 oc run bginx --image=bitnami/nginx --dry-run=client -o yaml > bginx.yaml
- 1105 oc explain pod.spec
- 1106 oc create -f bginx.yaml
- 1107 oc get pods
- 1108 history
- 1109 sleep 120; ex180/countdown 10
- 1110 oc get routes
- 1111 oc new-project s2i
- 1112 oc -o yaml new-app php~https://github.com/sandervanvugt/simpleapp --name=simple1 > s2i.yaml
- 1113 vim s2i.yaml
- 1114 oc apply -f s2i.yaml
- 1115 oc status
- 1116 oc get all
- 1117 oc logs simple1-1-build
- 1118 oc get all
- 1119 oc expose svc simple1
- 1120 oc get routes
- 1121 curl http://simple1-s2i.apps-crc.testing
- 1122 oc get all
- 1123 oc start-build simple1
- 1124 oc get all
- 1125 oc logs simple1-2-build
- 1126 oc logs simple1-2-build | less
- 1127 oc logs simple1-2-build | grep build
- 1128 oc get all
- 1129 oc logs -h | less
- 1130 oc logs -f simple1-2-build
- 1131 oc get all
- 1132 curl http://simple1-s2i.apps-crc.testing
- 1133 cd openshift/
- 1134 cd ..
- 1135 git clone https://github.com/sandervanvugt/openshift
- 1136 cd open
- 1137 cd openshift/
- 1138 ls
- 1139 git pull
- 1140 ls
- 1141 vim morevolumes.yaml
- 1142 oc create -f morevolumes.yaml
- 1143 oc describe pod morevol2
- 1144 oc exec -it morevol2 -c centos1 -- touch /centos1/hellofile
- 1145 oc exec -it morevol2 -c centos2 -- ls /centos2/
- 1146 oc login -u kubeadmin -p ddz5S-7U8uj-PPL7L-xciuP https://api.crc.testing:6443
- 1147 ls
- 1148 vim pv.yaml
- 1149 oc create -f pv.yaml
- 1150 oc login -u developer -p developer https://api.crc.testing:6443
- 1151 vim pvc.yaml
- 1152 oc create -f pvc.yaml
- 1153 oc get pvc
- 1154 vim pv-pod.yaml
- 1155 oc create -f pv-pod.yaml
- 1156 oc exec -it pv-pod -- touch /usr/share/nginx/html/helloagain
- 1157 oc get pods
- 1158 oc get logs pv-pod
- 1159 oc logs pv-pod
- 1160 oc describe pod pv-pod
- 1161 oc login -u kubeadmin -p ddz5S-7U8uj-PPL7L-xciuP https://api.crc.testing:6443
- 1162 oc new-project blah
- 1163 oc apply -f pvc.yaml
- 1164 oc apply -f pv-pod.yaml
- 1165 oc get pods
- 1166 oc exec -it pv-pod -- touch /usr/share/nginx/html/newfile
- 1167 history
Advertisement
Add Comment
Please, Sign In to add comment