You've already forked devops-exercises
Rename exercises dir
Name it instead "topics" so it won't be strange if some topics included "exercises" directory.
This commit is contained in:
12
topics/openshift/solutions/my_first_app.md
Normal file
12
topics/openshift/solutions/my_first_app.md
Normal file
@@ -0,0 +1,12 @@
|
||||
## OpenShift - My First Application
|
||||
|
||||
### Objectives
|
||||
|
||||
1. Create a MySQL application
|
||||
2. Describe which OpenShift objects were created
|
||||
|
||||
### Solution
|
||||
|
||||
1. `oc new-app mysql`
|
||||
2. The following objects were created:
|
||||
* ImageStream:
|
||||
19
topics/openshift/solutions/projects_101.md
Normal file
19
topics/openshift/solutions/projects_101.md
Normal file
@@ -0,0 +1,19 @@
|
||||
## OpenShift - Projects 101
|
||||
|
||||
### Objectives
|
||||
|
||||
In a newly deployed cluster (preferably) perform the following:
|
||||
|
||||
1. Login to the OpenShift cluster
|
||||
2. List all the projects
|
||||
3. Create a new project called 'neverland'
|
||||
4. Check the overview status of the current project
|
||||
|
||||
### Solution
|
||||
|
||||
```
|
||||
oc login -u YOUR_USER -p YOUR_PASSWORD_OR_TOKEN
|
||||
oc get projects # Empty output in new cluster
|
||||
oc new-project neverland
|
||||
oc status
|
||||
```
|
||||
Reference in New Issue
Block a user