Skip to content

Instantly share code, notes, and snippets.

@rlobillo
Last active Jan 28, 2021
Embed
What would you like to do?
additional machineset using additional subnet
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
annotations:
machine.openshift.io/memoryMb: "16384"
machine.openshift.io/vCPU: "4"
creationTimestamp: "2021-01-28T11:05:49Z"
generation: 1
labels:
machine.openshift.io/cluster-api-cluster: <CLUSTER_NAME>
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
name: ostest-p7sj6-worker-0-additional
namespace: openshift-machine-api
resourceVersion: "39866"
selfLink: /apis/machine.openshift.io/v1beta1/namespaces/openshift-machine-api/machinesets/<CLUSTER_NAME>-worker-0
uid: e1d1d491-b711-4b84-947e-9027041adb53
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: <CLUSTER_NAME>
machine.openshift.io/cluster-api-machineset: <CLUSTER_NAME>-worker-0-additional
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: <CLUSTER_NAME>
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
machine.openshift.io/cluster-api-machineset: <CLUSTER_NAME>-worker-0-additional
spec:
metadata:
labels:
type: additional
providerSpec:
value:
apiVersion: openstackproviderconfig.openshift.io/v1alpha1
cloudName: openstack
cloudsSecret:
name: openstack-cloud-credentials
namespace: openshift-machine-api
flavor: m4.xlarge
image: <CLUSTER_NAME>-rhcos
kind: OpenstackProviderSpec
networks:
- filter: {}
subnets:
- filter:
name: <CLUSTER_NAME>-additional
securityGroups:
- filter: {}
name: <CLUSTER_NAME>-worker-additional
serverMetadata:
Name: <CLUSTER_NAME>-worker
openshiftClusterID: <CLUSTER_NAME>
tags:
- openshiftClusterID=<CLUSTER_NAME>
trunk: true
userDataSecret:
name: worker-user-data
availabilityZone: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment