This sample demonstrates a non-Istio waypoint defined using static Envoy config.
- Create a kind cluster
kind create cluster
macOS 13 Ventura introduced support of running amd64 binaries with Rosetta inside of arm64 Linux VMs when using Apple Virtualization framework.
Lima VM v0.14.0 and later support the new feature.
Setup:
# Install Docker client and Lima
brew install docker docker-compose docker-credential-helper lima
This content was presented at a sig-testing meeting on 8/25/2020, available as a video here
#!/bin/bash | |
# Numeric constants | |
declare -r -i pxname=0 | |
declare -r -i svname=1 | |
declare -r -i qcur=2 | |
declare -r -i qmax=3 | |
declare -r -i scur=4 | |
declare -r -i smax=5 | |
declare -r -i slim=6 |
% openshift-install create manifests --dir=./clusters/gcp-mmasters-6 | |
INFO Consuming "Install Config" from target directory | |
openshift-install create manifests --dir=./clusters/gcp-mmasters-6 1.78s user 0.06s system 18% cpu 9.806 total | |
% cat > ./clusters/gcp-mmasters-6/manifests/ingress-controller-01-crd.yaml <<EOF | |
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: ingresscontrollers.operator.openshift.io | |
spec: |
{ | |
"cniVersion": "0.3.0", | |
"name": "mynet", | |
"type": "bridge", | |
"bridge": "cbr0", | |
"isDefaultGateway": true, | |
"ipMasq": false, | |
"ipam": { | |
"type": "host-local", | |
"ranges": [ |
# How to create an RPM repository | |
# This is for Redhat 64 bit versions of Linux. You can create your own RPM repository # to host your custom RPM packages. | |
# | |
# See "How to create an RPM from source with spec file" for more information. | |
# https://gist.github.com/1376973 | |
# Step: 1 | |
# Install createrepo |
# How to create an RPM from source with spec file | |
# This is for Redhat versions of linux. Sometimes when you search for an rpm package, | |
# it is either outdated or not available. The only thing available is the source code. | |
# You can create a custom RPM package from source. | |
# | |
# For this example, I'll be using the latest version of Git, currently v.1.7.7.3 | |
# Step: 1 | |
# Install rpmbuild |