-
Notifications
You must be signed in to change notification settings - Fork 250
Mvp #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mvp #17
Changes from 3 commits
fa06953
67fd876
8309c02
aeea16a
8d2e9fe
ea1e046
f0e4fa5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| apiVersion: "cluster.k8s.io/v1alpha1" | ||
| kind: Cluster | ||
| metadata: | ||
| name: test | ||
| namespace: test | ||
| spec: | ||
| clusterNetwork: | ||
| services: | ||
| cidrBlocks: | ||
| - "10.0.0.1/24" | ||
| pods: | ||
| cidrBlocks: | ||
| - "10.0.0.2/24" | ||
| serviceDomain: example.com | ||
| providerConfig: | ||
| value: | ||
| apiVersion: awsproviderconfig/v1alpha1 | ||
| kind: AWSClusterProviderConfig | ||
| clusterId: meh.tectonic.kuwit.rocks | ||
| clusterVersionRef: | ||
| namespace: test | ||
| name: test | ||
| hardware: | ||
| aws: | ||
| # accountSecret: | ||
| # name: test-aws-creds | ||
| sshSecret: | ||
| name: tectonic | ||
| sshUser: centos | ||
| sslSecret: | ||
| name: test-certs | ||
| region: eu-west-1 | ||
| keyPairName: tectonic | ||
| defaultHardwareSpec: | ||
| aws: | ||
| instanceType: m4.large | ||
| machineSets: | ||
| - nodeType: Master | ||
| size: 1 | ||
| - shortName: infra | ||
| nodeType: Compute | ||
| infra: true | ||
| size: 1 | ||
| - shortName: compute | ||
| nodeType: Compute | ||
| size: 1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| apiVersion: cluster.k8s.io/v1alpha1 | ||
| kind: MachineSet | ||
| metadata: | ||
| name: extra-worker-machinset | ||
| namespace: test | ||
| labels: | ||
| machineapioperator.openshift.io/cluster: test | ||
| spec: | ||
| replicas: 5 | ||
| selector: | ||
| matchLabels: | ||
| machineapioperator.openshift.io/machineset: extra-worker-machinset | ||
| machineapioperator.openshift.io/cluster: test | ||
| template: | ||
| metadata: | ||
| labels: | ||
| machineapioperator.openshift.io/machineset: extra-worker-machinset | ||
| machineapioperator.openshift.io/cluster: test | ||
| spec: | ||
| providerConfig: | ||
| value: | ||
| apiVersion: awsproviderconfig/v1alpha1 | ||
| kind: AWSMachineProviderConfig | ||
| clusterId: meh.tectonic.kuwit.rocks | ||
| clusterHardware: | ||
| aws: | ||
| keyPairName: tectonic | ||
| region: eu-west-1 | ||
| hardware: | ||
| aws: | ||
| instanceType: m4.large | ||
| infra: false | ||
| vmImage: | ||
| # CoreOS-beta-1828.3.0-hvm | ||
| awsImage: ami-0518e1ac70d8a3389 | ||
| versions: | ||
| kubelet: 0.0.0 | ||
| controlPlane: 0.0.0 | ||
| roles: | ||
| - Master | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| apiVersion: "cluster.k8s.io/v1alpha1" | ||
| kind: Machine | ||
| metadata: | ||
| name: another-machine-api-worker | ||
| namespace: test | ||
| generateName: vs-worker- | ||
| labels: | ||
| set: worker | ||
| spec: | ||
| providerConfig: | ||
| value: | ||
| apiVersion: awsproviderconfig/v1alpha1 | ||
| kind: AWSMachineProviderConfig | ||
| clusterId: meh.tectonic.kuwit.rocks | ||
| clusterHardware: | ||
| aws: | ||
| keyPairName: tectonic | ||
| region: eu-west-1 | ||
| hardware: | ||
| aws: | ||
| instanceType: m4.large | ||
| infra: false | ||
| vmImage: | ||
| # CoreOS-beta-1828.3.0-hvm | ||
| awsImage: ami-0518e1ac70d8a3389 | ||
| versions: | ||
| kubelet: 0.0.0 | ||
| controlPlane: 0.0.0 | ||
| roles: | ||
| - Master |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| apiVersion: "cluster.k8s.io/v1alpha1" | ||
| kind: Cluster | ||
| metadata: | ||
| name: test | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. name and namespaces need to be consolidated as part of CLOUD-80 |
||
| namespace: test | ||
| spec: | ||
| clusterNetwork: | ||
| services: | ||
| cidrBlocks: | ||
| - "10.0.0.1/24" | ||
| pods: | ||
| cidrBlocks: | ||
| - "10.0.0.2/24" | ||
| serviceDomain: example.com | ||
| providerConfig: | ||
| value: | ||
| apiVersion: awsproviderconfig/v1alpha1 | ||
| kind: AWSClusterProviderConfig | ||
| clusterId: {{.VpcName}} | ||
| clusterVersionRef: | ||
| namespace: test | ||
| name: test | ||
| hardware: | ||
| aws: | ||
| region: {{.Region}} | ||
| keyPairName: {{.SshKey}} | ||
| defaultHardwareSpec: | ||
| aws: | ||
| instanceType: m4.large | ||
| machineSets: | ||
| - nodeType: Master | ||
| size: 1 | ||
| - shortName: infra | ||
| nodeType: Compute | ||
| infra: true | ||
| size: 1 | ||
| - shortName: compute | ||
| nodeType: Compute | ||
| size: 1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| apiVersion: cluster.k8s.io/v1alpha1 | ||
| kind: MachineSet | ||
| metadata: | ||
| name: worker | ||
| namespace: test | ||
| labels: | ||
| machineapioperator.openshift.io/cluster: test | ||
| spec: | ||
| replicas: 3 | ||
| selector: | ||
| matchLabels: | ||
| machineapioperator.openshift.io/machineset: worker | ||
| machineapioperator.openshift.io/cluster: test | ||
| template: | ||
| metadata: | ||
| labels: | ||
| machineapioperator.openshift.io/machineset: worker | ||
| machineapioperator.openshift.io/cluster: test | ||
| spec: | ||
| providerConfig: | ||
| value: | ||
| apiVersion: awsproviderconfig/v1alpha1 | ||
| kind: AWSMachineProviderConfig | ||
| clusterId: {{.VpcName}} | ||
| clusterHardware: | ||
| aws: | ||
| keyPairName: {{.SshKey}} | ||
| region: {{.Region}} | ||
| hardware: | ||
| aws: | ||
| instanceType: m4.large | ||
| infra: false | ||
| vmImage: | ||
| awsImage: {{.Image}} | ||
| versions: | ||
| kubelet: 0.0.0 | ||
| controlPlane: 0.0.0 | ||
| roles: | ||
| - Master | ||
|
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should fix the
sigs.k8s.io/cluster-apito the latest release once there is reasonable one available. Meantime, we should fix the revision. The latest one isfbc85d97affbf5c9ad97054c66b23ad2bc0ca097. We want to be as close to the upstream as possible even though we use only the machine types (or more than just those types?). Upstream docs [1] says we can use therevisionkeyword:[1] https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md