Running
# using defaults:
# BOARDS: sig-release-master-blocking sig-release-master-upgrade
# STATES: FAILING
./shot.sh
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"net" | |
"os" | |
"strconv" | |
"strings" |
Running
# using defaults:
# BOARDS: sig-release-master-blocking sig-release-master-upgrade
# STATES: FAILING
./shot.sh
The goal here is to create a local mirror of the upstream OSTree repository.
Log into a shell on the host, and run the tools container. This isn't
strictly necessary right now as we could use the host's ostree
binary
too, but in the future the tools container might contain more scripts
for things like this. Once we're inside the tools container, we make
an unprivileged user, as general best practice. It also shows that
OSTree is perfectly happy to mirror/manipulate content as non-root.
== Deploy and Test Cluster Metrics == | |
=== Deploy Cluster Metrics === | |
Instructions developed from the [https://docs.openshift.org/latest/install_config/cluster_metrics.html Origin Docs]. First enter the project. Then, create the metrics-deployer service account. Then, add the heapster account permissions. Then, set up secrets. | |
oc new-project openshift-infra | |
oc project openshift-infra | |
oc create -f - <<API | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: metrics-deployer |