Last active
February 6, 2025 23:09
-
-
Save waynedovey/ce206c61d590ed0ad49d12bee5d5ea0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: hypershift.openshift.io/v1beta1 | |
kind: HostedCluster | |
metadata: | |
name: 'test4' | |
namespace: 'clusters' | |
labels: | |
spec: | |
etcd: | |
managed: | |
storage: | |
persistentVolume: | |
size: 8Gi | |
storageClassName: example-hcp-etcd-repl1 | |
type: PersistentVolume | |
managementType: Managed | |
release: | |
image: quay.io/openshift-release-dev/ocp-release:4.17.1-multi | |
pullSecret: | |
name: pullsecret-cluster-test4 | |
sshKey: | |
name: sshkey-cluster-test4 | |
networking: | |
clusterNetwork: | |
- cidr: 10.132.0.0/14 | |
serviceNetwork: | |
- cidr: 172.31.0.0/16 | |
networkType: OVNKubernetes | |
configuration: | |
proxy: | |
httpProxy: http://192.168.1.1:3128 | |
httpsProxy: http://192.168.1.1:3128 | |
noProxy: .cluster.local,.svc,10.0.0.0/16,127.0.0.1,localhost,.apps.heavy-metal.digitaldovey.net,api.heavy-metal.digitaldovey.net,192.168.1.0/24,192.168.0.0/24,10.132.0.0/14,172.31.0.0/16,.apps.test4.apps.heavy-metal.digitaldovey.net,192.168.0.100,kubernetes | |
controllerAvailabilityPolicy: HighlyAvailable | |
platform: | |
type: KubeVirt | |
kubevirt: | |
baseDomainPassthrough: true | |
storageDriver: | |
manual: | |
storageClassMapping: | |
- guestStorageClassName: example-rwx-kubevirt | |
infraStorageClassName: example-rwx-kubevirt | |
volumeSnapshotClassMapping: | |
- guestVolumeSnapshotClassName: example-csi-snapclass | |
infraVolumeSnapshotClassName: example-csi-snapclass | |
type: Manual | |
infraID: 'test4' | |
services: | |
- service: OAuthServer | |
servicePublishingStrategy: | |
type: Route | |
- service: OIDC | |
servicePublishingStrategy: | |
type: Route | |
- service: Konnectivity | |
servicePublishingStrategy: | |
type: Route | |
- service: Ignition | |
servicePublishingStrategy: | |
type: Route | |
--- | |
apiVersion: hypershift.openshift.io/v1beta1 | |
kind: NodePool | |
metadata: | |
name: 'test4' | |
namespace: 'clusters' | |
spec: | |
arch: amd64 | |
clusterName: 'test4' | |
replicas: 3 | |
management: | |
autoRepair: false | |
upgradeType: Replace | |
platform: | |
type: KubeVirt | |
kubevirt: | |
additionalNetworks: | |
- name: clusters-test4/localnet | |
attachDefaultNetwork: false | |
compute: | |
cores: 8 | |
memory: 8Gi | |
networkInterfaceMultiqueue: Enable | |
rootVolume: | |
type: Persistent | |
persistent: | |
size: 64Gi | |
storageClass: example-rwx-kubevirt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment