Skip to content

Instantly share code, notes, and snippets.

View dudash's full-sized avatar
🎸
Be excellent to each other

Jason Dudash dudash

🎸
Be excellent to each other
View GitHub Profile
#setting up
PROJECT = "user10"
oc project $PROJECT
git clone https://github.com/RedHatGov/service-mesh-workshop-code.git
cd service-mesh-workshop-code && git checkout workshop-stable
oc get pods -n $PROJECT-istio
#LAB 1 - deploying the microservice application Version1
oc new-app -f ./config/app/boards-fromsource.yaml \
-p APPLICATION_NAME=boards \
@dudash
dudash / readme.md
Last active May 5, 2020 20:06
Works on OpenShift Version Badges --- CLICK TO SEE IT

[![OpenShift Version][openshift311-redimage]][openshift311-url] [![OpenShift Version][openshift311-heximage1]][openshift311-url] [![OpenShift Version][openshift311-heximage2]][openshift311-url] [![OpenShift Version][openshift311-heximage3]][openshift311-url] [![OpenShift Version][openshift311-heximage4]][openshift311-url]

[![OpenShift Version][openshift39-heximage]][openshift39-url] [![OpenShift Version][openshift310-heximage]][openshift310-url]

[![OpenShift Version][openshift311-logo]][openshift311-url]

@dudash
dudash / oc-scale0
Last active April 21, 2022 19:45
oc-scale0: a Plugin for OpenShift CLI to scale all deployments to 0
#!/bin/bash
#
# A simplifed CLI command to scale all deployments to 0
#
# source: https://gist.github.com/dudash/10699ecba6c56e126bd6071f3c187f13/
# docs: https://docs.openshift.com/container-platform/4.7/cli_reference/openshift_cli/extending-cli-plugins.html
#
# To install/use this:
# put this script in /usr/local/bin
# chmod a+x oc-scale0