$ kubectl get infrastructure.config.openshift.io/cluster -o yaml
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
annotations:
kcp.dev/cluster: root| #!/bin/bash | |
| USERNAME=dataplaneapi | |
| PASSWORD=dataplaneapi | |
| MASTER_BACKENDS=("api-server" "machine-config-server") | |
| INGRESS_BACKENDS=("router-http" "router-https") |
$ kubectl get infrastructure.config.openshift.io/cluster -o yaml
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
annotations:
kcp.dev/cluster: root| #!/bin/bash | |
| set +x | |
| source ./cosa.sh | |
| FCOS_BUILD="fcos-build" | |
| OKD_VERSION="4.10" | |
| MCOIMAGE="registry.ci.openshift.org/origin/${OKD_VERSION}:machine-config-operator" | |
| ARTIMAGE="registry.ci.openshift.org/origin/${OKD_VERSION}:artifacts" | |
| OKD_REPO="./okd-repo" | |
| OVERLAY_EXTENSIONS="./overlay/extensions" |
| import random | |
| import ruamel.yaml | |
| from crontab import CronTab | |
| supported_versions = ["4.6", "4.7", "4.8", "4.9", "4.10"] | |
| job_variants = ["e2e-vsphere-upi", "e2e-vsphere-upi-serial", "e2e-vsphere", "e2e-vsphere-serial", "e2e-vsphere-techpreview", "e2e-vsphere-techpreview-serial"] | |
| min_apart = 10 | |
| def main(): |
| #!/bin/bash | |
| set -e | |
| set -x | |
| declare -A roles | |
| VCENTER="Cns.Searchable InventoryService.Tagging.AttachTag InventoryService.Tagging.CreateCategory InventoryService.Tagging.CreateTag InventoryService.Tagging.DeleteCategory InventoryService.Tagging.DeleteTag InventoryService.Tagging.EditCategory InventoryService.Tagging.EditTag Sessions.ValidateSession StorageProfile.View" | |
| VCENTER_ROLE_NAME="openshift-vcenter-level" |
| #!/bin/bash | |
| set -e | |
| set -x | |
| declare -A roles | |
| VCENTER="Cns.Searchable InventoryService.Tagging.AttachTag InventoryService.Tagging.CreateCategory InventoryService.Tagging.CreateTag InventoryService.Tagging.DeleteCategory InventoryService.Tagging.DeleteTag InventoryService.Tagging.EditCategory InventoryService.Tagging.EditTag Sessions.ValidateSession StorageProfile.View" | |
| VCENTER_ROLE_NAME="openshift-vcenter-level" |
The event-router-config.yaml and the event-router-k8s.yaml is created via
the two "hacked" setup scripts. They were modified from: https://github.com/vmware-samples/vcenter-event-broker-appliance/tree/development/files
Install openshift serverless operator, knative serving and knative eventing (see docs).
Modify scripts with vCenter authentication.
./hacked-setup-05-event-processor.sh
| apiVersion: monitoring.coreos.com/v1 | |
| kind: ServiceMonitor | |
| metadata: | |
| labels: | |
| k8s-app: vmware-exporter | |
| name: vmware-exporter-monitor | |
| namespace: openshift-vsphere-infra | |
| spec: | |
| endpoints: | |
| - interval: 30s |
There is a proxy already running on vCenter - assuming this proxies the various services running on vCenter via the single port (TCP 443 - https):
Modify /sdk changing the port to 28085.
root@ip-172-31-250-99 [ /etc/vmware-rhttpproxy/endpoints.conf.d ]# cat vpxd-rhttpproxy-endpoint.conf
/sdk local 28085 redirect allow