OpenShift demo cluster
https://master.rhpds311.openshift.opentlc.com/console/catalog
Red Hat Containers and Base Images
https://access.redhat.com/containers
Quay container image registry demo
a[href^="http://maps.google.com/maps"]{display:none !important} | |
a[href^="https://maps.google.com/maps"]{display:none !important} | |
.gmnoprint a, .gmnoprint span, .gm-style-cc { | |
display:none; | |
} | |
.gmnoprint div { | |
background:none !important; | |
} |
// remove URLS from the feed title | |
var urlFree = this.newsItems[this.activeItem].title.replace(/(?:https?|ftp):\/\/[\n\S]+/g, ''); | |
this.newsItems[this.activeItem].title = urlFree; | |
// remove pic.twitter.com from the feed too (sometimes this exists w/o the http prefix) | |
var urlFree = this.newsItems[this.activeItem].title.replace(/pic.twitter.com[\n\S]+/g, ''); | |
this.newsItems[this.activeItem].title = urlFree; | |
/** |
oc patch cm/keycloak-probes -p '{"data":{"liveness_probe.sh":"#!/bin/bash\necho pass\n","readiness_probe.sh":"#!/bin/bash\necho pass\n"}}' |
#!/bin/bash | |
# | |
# A simplifed CLI command to scale all deployments to 1 | |
# | |
# source: https://gist.github.com/dudash/e62b3b25c8713386a28c19b64604891e | |
# 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-scale1 |
ports: | |
- containerPort: 8080 | |
name: http | |
protocol: TCP | |
- containerPort: 8443 | |
name: https | |
protocol: TCP | |
- containerPort: 8778 | |
name: jolokia | |
protocol: TCP |
OpenShift demo cluster
https://master.rhpds311.openshift.opentlc.com/console/catalog
Red Hat Containers and Base Images
https://access.redhat.com/containers
Quay container image registry demo
#!/bin/bash | |
# Simple script to help configuring which istio CLI to use when you | |
# have a need to keep multiple versions and switch between them. | |
# Install and notes: | |
# 1. put this in /usr/local/bin and chmod +x | |
# 2. keep all the versions of istioctl in the /Applications directory | |
# 3. name istioctl executables with corresponding version - e.g. /Applications/istioctl-1.4.8 |
[![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]
Docker for Mac uses Hyperkit as the VM so it's likely you have no idea how to get into the VM. Not likely you really need to either. But in the case you do need to get on that VM, here is how...
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
ctrl+a
then press k
docker inspect $(docker ps -aq) --format '{{.Config.Image}} {{.Config.User}} {{.Name}}' |