Skip to content

Commit e6a7065

Browse files
author
Your Name
committed
init
1 parent c0c50da commit e6a7065

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

.github/workflows/ubuntu-kind-wf.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ on:
1212

1313
jobs:
1414

15-
16-
ubuntu-latest-kind-job:
15+
kind-binary-ubuntu-latest-job:
1716
name: "ubuntu-latest kind job"
1817
runs-on: ubuntu-latest
1918
steps:
@@ -31,6 +30,15 @@ jobs:
3130
kind get clusters
3231
kubectl cluster-info --context kind-kind
3332
kubectl cluster-info --context kind-kind-2
33+
34+
kind-binary-cfg-ubuntu-latest-job:
35+
name: "ubuntu-latest kind job"
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: "os fingerprinti ng"
40+
run: hostnamectl status
41+
# https://kind.sigs.k8s.io/docs/user/quick-start/
3442
- name: "Installing From Release Binaries with cfg yaml"
3543
run: |
3644
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
@@ -40,6 +48,14 @@ jobs:
4048
kind get clusters
4149
# kubectl cluster-info --context kind-kind
4250
# kubectl cluster-info --context kind-kind-2
51+
52+
kind-binary-cfg-multi-controlplane-ubuntu-latest-job:
53+
name: "ubuntu-latest kind job"
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v2
57+
- name: "os fingerprinti ng"
58+
run: hostnamectl status
4359
- name: "Installing From Release Binaries with cfg yaml multi controlplane"
4460
run: |
4561
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64

app/kind-example-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ nodes:
2323
# the control plane node config
2424
- role: control-plane
2525
# the three workers
26-
- role: worker-1
27-
- role: worker-2
28-
- role: worker-3
26+
- role: worker
27+
- role: worker
28+
- role: worker

scripts/deploy-kind.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ kubectl cluster-info --context kind-kind-2
2626

2727
kubectl config get-contexts #kind is prefixed to the context and cluster names, for example: kind-istio-testing
2828

29-
kind delete kind-2
29+
# Deleting a Cluster
30+
kind delete cluster kind-2
31+
kind get clusters #see the list of kind clusters
3032

3133
echo "=============================deploy kind============================================================="

0 commit comments

Comments
 (0)