bcdevops / devops-platform-workshops Goto Github PK
View Code? Open in Web Editor NEWOCP Training Workshop Material and Labs
License: Apache License 2.0
OCP Training Workshop Material and Labs
License: Apache License 2.0
It looks like some of the yaml scripting tags are not processing correctly in the Persistent Configurations
the image for the lab is a mongodb pod although its talking about rc pods.
Review the language and descriptions in the Memorandum of understand, and look for opportunities to align the language and content in [OCP101 deck] (https://app.mural.co/invitation/mural/platformservices5977/1646945371597?sender=uf0df5317d8dbea9ee48c7230&key=53ce5618-7a78-4548-b12c-c3495babe255).
Definition of done
Duplicate OCP101 content from Miro OCP 101 Deck into a Mural Deck
Miro only exports slides as images or PDFs, so text and graphics must be recreated allow editing in Mural.
Definition of done:
Please add auth troubleshooting SO answer to: https://github.com/BCDevOps/devops-platform-workshops/blob/master/openshift-201/logging.md
SO link: https://stackoverflow.developer.gov.bc.ca/questions/118
Make it clear that user should open the URL exposed by the route and refresh it, not the route page itself.
In the Deployment section, under General, when another application exists, it defaults to adding the new deployment to that application. It is not clear in the documentation if everything should be created under a single app or a new one should be created.
In the effort of a new 201 course we are reaching out to the community to see what the majority wants to see in the workshop. The workshop will undoubtedly cover concepts of CI/CD and how it integrates into our platform services such as Sysdig/Aqua etc.
found in workshop lab 07_persistent_configurations.html
oc export secret rocketchat-sheastewart-secret -o yaml
I am preparing for the upcoming Openshift 101 training. During the system set up, I was unable to move forward because I got an error shown in the attached snip. While I tried to read the details in sslcerts documents, do not understand and was unable to solve. I installed the system into my office workstation which is in the bc government network. Your support would be appreciated. Thanks and looking forward to hearing from you.
This issue tracks the steps needed to run an ocp101 lab. We will want to transfer any info here into an actual playbook (a markdown file) and store in this repo.
The lab is held over two weeks. Attendees are given a set of namespaces to work with. The lab material itself should take 2 to 6 hours to complete.
Once in the project, switch to Developer view and then navigate to More -> Project Access
Select Add Access
This is now the 'Projects button'
currently courses are named openshift, openshift 201.
code has these as developer operations or developer ops 201
This issue is simply to align the code with the course name and update readmes.
The process for deleting the existing Volume has changed. It no longer gives the option to delete from Add Storage.
Need to navigate to Deployment Config Details for mongodb-[username] to view existing volume and delete it.
Also, in Adding Storage to Existing Deployment Configurations, the image is correct, but under it says to "Select the azure-file storage class.", which does not work, it should be the managed-premium (default).
grant access to aro (non prod cluster) to shelly's personal gh account
shelly test out ocp101 lab content as a student
create the ocp101 lab event brite event
create a playbook to provision namespaces/access (split into groups of 10) and a rc channel for the ocp 101 study lab group
communicate to Dea the ocp101 lab eventbrite so that it can be included into the newsletter
test aro cluster for load during multiple rocketchat builds/deploys (15 paralle/builds/deploys)
add ocp101 holds and add dates to event brite for Oct 7th and Nov 18th
Once in the project, switch to Developer view and then navigate to More -> Project Access
Select Add Access
This is now the 'Projects button'
Some services have changed since we last deployed the lab. This includes the decomissioning of aporeto (to be replaced by KNPs).
Ensure the labs work without KNPs.
Tasks:
Move Resource Requests and Limits
lab earlier as part of troubleshooting deployment issues before deploying mongoDB
Remove Registry Console Lab
Start session with creating a branch of the docs/labs, and make changes on the fly
Create a RocketChat base images caching dependencies to help speed up build time
Create a diagram of the the lifecycle of application (from Build to Pod)
Look into maybe move away from gitbook into something else (e.g.: Gastby)
Nice to have:
This example code
helm template ./prometheus-8.11.1.tgz \
--name [username]-prometheus \
--set \
server.persistentVolume.size=1Gi,\
server.name=[username]-prometheus,\
alertmanager.enabled=false,\
pushgateway.enabled=false,\
kubeStateMetrics.enabled=false,\
nodeExporter.enabled=false,\
serviceAccounts.server.create=false,\
rbac.create=false \
> [username]-prometheus.yaml
incorrectly references prometheus-8.11.1.tgz
Because helm fetches the latest stable prometheus release, it is better to just leave that as a placeholder value
Now that training is running on such a regular basis, having a prod project space and pipeline will allow for a more stable training experience.
update the information on how to make requests for project set/realms/access...
Openshift 101 Feedback | Total Forms | 10 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Feedback (common theme) | Votes | |||||||||
Provide a list of common oc commands used during the lecture (in rocketchat) | 2 | |||||||||
Increase Performance Of Builds/Deploys (speed up lab tasks) | 3 | |||||||||
Prefer Smaller Groups | 1 | |||||||||
Have helpers be more engaged | 1 |
--dry-run
flag for several oc options to test things out :)On the overview page it says 'happy bath' but probably was meant to be 'happy path'. I kind of like happy bath though.
mongodb://dbuser:dbpass@mongodb-[username]:27017/rocketchat
Note the snippet under: https://github.com/BCDevOps/devops-platform-workshops/blob/master/openshift-201/pipelines.md#running-a-pipeline
Assumes a bash
shell I believe. I can create a PR to state that as a note if wanted.
We need to add a slide in the miro board to explain the importance of resource tuning and how to do it. This should be coupled with the lab demonstration of resource tuning.
This issue tracks the steps needed to run an ocp101 lab. We will want to transfer any info here into an actual playbook (a markdown file) and store in this repo.
The lab is held over two weeks. Attendees are given a set of namespaces to work with. The lab material itself should take 2 to 6 hours to complete.
The following assets used in workshop-labs/docs/developer_operations/03_deployment.md
are missing:
03_deploy_route.png
03_deploy_build_trigger_02.png
Monitoring is no longer found in advanced menu. The screen shot and instructions need changing!
the openshift 101 slides has a broken link to the labs in LAB/DEMO: ACCESS MANAGEMENT
Currently we only have one storage class that can be utilized as RWO.
Have atleast another storage class that can be utilized as RWO or RWX
The OCP 101 Persistent Configuration Lab asks students to test/debug provisioning storage of those different read/write types. This lab is not usable without the storage class as described above ! :)
Create lab material on how to integrate Vault secret for openshift workload. More details to be filled after discussion!
The ocp101 lab should have a good introduction on all the shared services the platform provides. Things like sysdig, artifactory, etc.
it would be nice to have a method of sending a TOC to slack / rocketchat that students could manually check off when they are done certain labs.
On page https://ocp201-labs.pathfinder.gov.bc.ca/openshift201/02_templates_openshift.html
The page says "From the CLI, the template can also be viewed" yet has a screen shot of the GUI, it should likely say "From the GUI, the template can also be viewed"
Working through the Lab instructions (Setup page) I install OC then run oc version which returns a version number and an "unable to connect to the server" error.
The next page (Adding User Access) instructs us to run oc projects, which returns "unable to connect to the server" error.
I resolved this by running oc login <>, but this instruction is not in the Lab instructions
Please add instructions on how to login to the OC server on the Setup page of the Lab instructions.
unable to connect to the server
It would be great to have a quick summary on how to install git
The OpenShift 101 Lab README references OpenShift 101 mural slides. The correct slides are OpenShift 101 Workshop Google Slides.
Pertaining to this section:
start of section
At this point in time, your deployment configuration has undergone many changes, such as adding environment variables and adding health checks. Review the deployment configuration History tab:
While reviewing the different deployment versions, take note of the Trigger column.
end of section
It looks like this instruction is a bit misleading. A student explaining that while viewing the replication controllers the triggers column is not visible.
Based on this instruction: " While reviewing the different deployment versions, take note of the Trigger column."
I'd suggest changing this to something like:
"After reviewing the different deployment versions (aka replication controllers), view the Deployment Config and take note of the Trigger Column"
Transition of responsibilities for creating, scheduling and advertising OCP101 Eventbrite events, OCP101 Zoom meetings.
Rosa Montgomery providing handoff information and transition support to Matt Spencer.
Definition of done
The lab was changed from DC to deployment which caused several issues. Some were corrected but some have slipped through.
run through lab step by step and find and rectify the issues
you can use #ocp101-lab-march rocketchat channel for reference
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.