-
Notifications
You must be signed in to change notification settings - Fork 0
/
03-hypershift-c1.yaml
60 lines (60 loc) · 1.57 KB
/
03-hypershift-c1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: HypershiftDeployment
metadata:
name: hypershift-c1
namespace: default
spec:
hostingCluster: local-cluster
hostingNamespace: clusters
hostedClusterSpec:
networking:
networkType: OpenShiftSDN
machineCIDR: 10.2.0.0/16 # Default 10.0.0.0/16
podCIDR: 10.132.0.0/14 # Default
serviceCIDR: 172.31.0.0/16 # Default
platform:
type: AWS
pullSecret:
name: hypershift-c1-pull-secret # This secret is created by the controller
release:
image: quay.io/openshift-release-dev/ocp-release:4.10.15-x86_64 # Default
services:
- service: APIServer
servicePublishingStrategy:
type: LoadBalancer
- service: OAuthServer
servicePublishingStrategy:
type: Route
- service: Konnectivity
servicePublishingStrategy:
type: Route
- service: Ignition
servicePublishingStrategy:
type: Route
sshKey: {}
nodePools:
- name: hypershift-c1
spec:
replicas: 2
clusterName: hypershift-c1
management:
autoRepair: false
replace:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
strategy: RollingUpdate
upgradeType: Replace
platform:
aws:
instanceType: m6i.xlarge
type: AWS
release:
image: quay.io/openshift-release-dev/ocp-release:4.10.15-x86_64 # Default
infrastructure:
cloudProvider:
name: my-aws-cred
configure: True
platform:
aws:
region: us-east-2