forked from cncamp/101
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
205 additions
and
69 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
clusters: | ||
- cluster: | ||
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM2akNDQWRLZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeE1URXdOekV5TlRJeE4xb1hEVE14TVRFd05URXlOVGN4TjFvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTXE3Ck9VdlgwK09DRkhUU1Q2TWxWcWwvb2FHRGw1VHFrbCswakRBL1BuTm1jR2NWSlhTSUxaSzFoN3l6aGhmRGVhcXMKZmVtc0pxcFdQWnlQYnRHNitqR1NZY0daTVZFL3BYMkpyeElRdVM1Wkl0c05lWGNxQjk5c1NPYnc1VW1ldEZ6cAplMnBRYUo1V1dLc3lLVjkwVjBjclMwN1U4R201Rk00TzRWWXVqL0tYRkJuL3pmL3FkZlNOZy9JQ0tXY1plbWV4Ck9qY042djI0WWJoRjZYMkliOWtOem83UStFcTEzU0xLTEQ5SW9iNHRTeURrN3kzaXQwOURwK1BOZ0ZJN1ljWEQKV1Iva0x4YUVRSGJ0NlBOSUU3L1lLWk9mVE1HTlM2MUE5RWNTNjd4Q3k2ZFBkN1Rxajd5YnEvdkc3Y0ZDZGxrbQovRVJ1UDduUkFtREFXVHoyS3lrQ0F3RUFBYU5GTUVNd0RnWURWUjBQQVFIL0JBUURBZ0trTUJJR0ExVWRFd0VCCi93UUlNQVlCQWY4Q0FRQXdIUVlEVlIwT0JCWUVGSTBYY0pURXNvQ0E1TXdndzVFQlVKMWpYcUxETUEwR0NTcUcKU0liM0RRRUJDd1VBQTRJQkFRQ3FJSllYdEdHeUFaWURBRCtYZkw1MUVCOXFnUVZKZjlwaW1XSTQ5aEwvZzd4Tgo3bWJUbE1XejNkNUE2S0s1STdvNXpYbkFrbi9ISkR3bm93Uk1CaFBCSjFabHdUVnVLMXg3cURVRTg4WXZ5a2FjClQvRVJwbExsL0pGaTA5aW1tSU5CWGZpdGpONGdKQzZjQWNFdklpUS9mdzIva0VON09IQk5wVTlRWTlQSHZOZXMKS1M0THAvQ3M3VXJ1NlE3enRqM0F3bDFHZUhBZ2Z0c1AzWGV1Nk9GQVF2MXhwTFE5VHdKUm9HeTV4QkkxVUJNYQpIR3d3M0FXOFh5d2p4RmRMTmdMN3VtRGwrbnZMditpSkJIa1JkVTJlbGFCT0ZjblFtbWNmOUtjVi9zRmE4cHJ5CklCNFgvdkVpMlVGTmt1ejNhZ2ttTVpGTi94Q2VtVEthcEh1OUFzNy8KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= | ||
server: https://172.18.0.3:6443 | ||
name: capi-quickstart | ||
contexts: | ||
- context: | ||
cluster: capi-quickstart | ||
user: capi-quickstart-admin | ||
name: capi-quickstart-admin@capi-quickstart | ||
current-context: capi-quickstart-admin@capi-quickstart | ||
kind: Config | ||
preferences: {} | ||
users: | ||
- name: capi-quickstart-admin | ||
user: | ||
client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURFekNDQWZ1Z0F3SUJBZ0lJWWN1aitJQTA1dVl3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2Ez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eGtFQjYwOGlqK1hFWHV6MTc5eXIwdlJtNVdxV1Z2ZFlEVTV0NWt5cHFadjRvdkgvMkthUjAyT3BqYQpqbWJMQlh5S21hSmVvT29IVWlXMzV2NHVBU3BqbGhtTGdBc01xenh1SWh6K1RMS2tXSUF3Zlphd2tyc3ZVRkt5CnBvMDFJd0tCZ0QrKzBYeUtLMExvcVEycXQvTksrU0tvMDFnb0UwQUtiaGEzak9Ld3F5eGVFTis1RkNaK0UxaisKODNWUE1qTTI5VW9EeWlWK1IyeCszVUdpMnNZSkR2L3BKbCtQendIa3hmdlBsRnhxQzZSVUZnbWdVMXpWTTJEegpiK3QrTzhUR1JrRzVFS2dLOXRVVDdpYUg4MDNub1dwbjlweTlaSXVMcjA4KzFFRUlmTjBPCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg== | ||
|
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
Empty file.
2 changes: 1 addition & 1 deletion
2
.../cluster-api/generate_workload_cluster.sh → .../cluster-api/generate_workload_cluster.sh
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,5 +1,5 @@ | ||
clusterctl generate cluster capi-quickstart --flavor development \ | ||
--kubernetes-version v1.22.0 \ | ||
--kubernetes-version v1.22.2 \ | ||
--control-plane-machine-count=1 \ | ||
--worker-machine-count=1 \ | ||
> capi-quickstart.yaml |
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
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,30 @@ | ||
### create host cluster | ||
|
||
``` | ||
./create_cluster.sh | ||
``` | ||
|
||
### generate cluster specs | ||
|
||
``` | ||
cd cluster-api | ||
./init_docker_provider.sh | ||
./generate_workload_cluster.sh | ||
kubectl apply -f capi-quickstart.yaml | ||
``` | ||
|
||
### check | ||
|
||
``` | ||
docker ps|grep control-plane | ||
b107b11771e5 kindest/haproxy:v20210715-a6da3463 "haproxy -sf 7 -W -d…" 4 minutes ago Up 4 minutes 40295/tcp, 0.0.0.0:40295->6443/tcp capi-quickstart-lb | ||
clusterctl get kubeconfig capi-quickstart > capi-quickstart.kubeconfig | ||
kubectl get no --kubeconfig capi-quickstart.kubeconfig --server https://127.0.0.1:40295 | ||
NAME STATUS ROLES AGE VERSION | ||
capi-quickstart-control-plane-6slwd NotReady control-plane,master 4m19s v1.22.0 | ||
capi-quickstart-md-0-765cf784c5-6klwr NotReady <none> 3m41s v1.22.0 | ||
``` | ||
|
||
### kubectl get cluster | ||
|
||
### kubectl get machineset |
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
Oops, something went wrong.