Permissions needed for install (IPI)
Below is documented what is required to operate for the UPI case (untested and not verified)
needed for integrated registry
| #!/bin/bash | |
| set -euo pipefail | |
| #set -x | |
| # tree can be the name of a branch (master, release-3.8, etc) or a release tag (v3.9.0-alpha.4) | |
| TREE="$1" | |
| REPOURL=$(curl -s "https://storage.googleapis.com/origin-ci-test/releases/openshift/origin/$TREE/.latest-rpms") | |
| echo "copy to following lines into your openshift-ansible inventory file" |
| = start an openshift test cluster = | |
| = download dep == | |
| cd $GOPATH/bin | |
| wget https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 | |
| mv dep-linux-amd64 dep | |
| chmod +x dep | |
| = build operator-sdk = | |
| go get github.com/operator-framework/operator-sdk | |
| cd $GOPATH/src/github.com/operator-framework/operator-sdk | |
| make dep |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "time" | |
| "k8s.io/api/core/v1" | |
| "k8s.io/apimachinery/pkg/fields" | |
| "k8s.io/apimachinery/pkg/types" |
| platform: libvirt | |
| libvirt: | |
| uri: qemu:///system | |
| network: | |
| name: tectonic | |
| ifName: tt0 | |
| dnsServer: 10.42.10.1 | |
| ipRange: 192.168.124.0/24 | |
| imagePath: /home/sjennings/Downloads/rhcos-qemu.qcow2 | |
| containerLinux: |
| instances start with rhcos image + ignition configs (per role) generated by "tectonic init" | |
| for aws: user_data | |
| for libvirt: qemu_fw_cfg | |
| == master === | |
| kubelet.service starts | |
| runs bootstrap control plane runs as static pods on the bootstrap master | |
| bootkube.service starts | |
| runs kube-core-renderer container | |
| https://github.com/coreos-inc/tectonic-operators/blob/master/renderer/Documentation/README.md |
| // Place your settings in this file to overwrite the default settings | |
| { | |
| "go.buildOnSave": true, | |
| "go.lintOnSave": true, | |
| "go.vetOnSave": true, | |
| "go.buildTags": "", | |
| "go.buildFlags": [], | |
| "go.lintFlags": [], | |
| "go.vetFlags": [], | |
| "go.coverOnSave": false, |
| # updated 10/11/18 | |
| # oc get is origin-v4.0 -n openshift -o yaml | grep tag: | cut -f6 -d' ' | |
| ansible | |
| artifacts | |
| aws-machine-controllers | |
| base | |
| catalog | |
| cli | |
| cluster-autoscaler |
| # cat horizon/custom_local_settings | |
| LAUNCH_INSTANCE_DEFAULTS = { | |
| "create_volume": False, | |
| } | |
| SESSION_TIMEOUT = 86400 |
Permissions needed for install (IPI)
Below is documented what is required to operate for the UPI case (untested and not verified)
needed for integrated registry
| #!/usr/bin/env python3 | |
| import json | |
| import os | |
| import sys | |
| import base64 | |
| ign_file = open(sys.argv[1]) | |
| ign_json = json.load(ign_file) | |
| ign_file.close() |