-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from fabriziopandini/multi-node-config
Multi node config
- Loading branch information
Showing
30 changed files
with
1,537 additions
and
248 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# this file contains an invalid config api version for testing | ||
kind: Config | ||
kind: Node | ||
apiVersion: not-valid |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# this file contains an invalid config kind for testing | ||
kind: not-valid | ||
apiVersion: kind.sigs.k8s.io/v1alpha2 |
10 changes: 10 additions & 0 deletions
10
pkg/cluster/config/encoding/testdata/v1alpha2/valid-full-ha.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# technically valid, config file with a full ha cluster | ||
kind: Config | ||
apiVersion: kind.sigs.k8s.io/v1alpha2 | ||
nodes: | ||
- role: control-plane | ||
replicas: 3 | ||
- role: worker | ||
replicas: 2 | ||
- role: external-etcd | ||
- role: external-load-balancer |
6 changes: 6 additions & 0 deletions
6
pkg/cluster/config/encoding/testdata/v1alpha2/valid-minimal-two-nodes.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# technically valid, minimal config file with two nodes | ||
kind: Config | ||
apiVersion: kind.sigs.k8s.io/v1alpha2 | ||
nodes: | ||
- role: control-plane | ||
- role: worker |
13 changes: 7 additions & 6 deletions
13
pkg/cluster/config/encoding/testdata/v1alpha2/valid-with-lifecyclehooks.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
kind: Config | ||
apiVersion: kind.sigs.k8s.io/v1alpha2 | ||
nodeLifecycle: | ||
preKubeadm: | ||
- name: "pull an image" | ||
command: [ "docker", "pull", "ubuntu" ] | ||
- name: "pull another image" | ||
command: [ "docker", "pull", "debian" ] | ||
nodes: | ||
- nodeLifecycle: | ||
preKubeadm: | ||
- name: "pull an image" | ||
command: [ "docker", "pull", "ubuntu" ] | ||
- name: "pull another image" | ||
command: [ "docker", "pull", "debian" ] |
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
Oops, something went wrong.