2022-06-22
Installation de Gloo Portal
- workshops/gloo-portal
- installation de
jq - installation de
kind- Installing From Release Binaries
- kind ā Quick Start
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.14.0/kind-linux-amd64chmod +x ./kind- mettre dans le
PATH
- kind ā Quick Start
- Creating a Cluster
kind create cluster# Default cluster context name iskind- ā Ensuring node image (kindest/node:v1.24.0) š¼
- ā Preparing nodes š¦
- ā Writing configuration š
- ā Starting control-plane š¹ļø
- ā Installing CNI š
- ā Installing StorageClass š¾
kind get clusterskind
$ kubectl cluster-info --context kind-kind- Kubernetes control plane is running at https://127.0.0.1:36266
- CoreDNS is running at https://127.0.0.1:36266/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
- Installing From Release Binaries
- installation de
Your Kubernetes control-plane has initialized successfully!
To start using your cluster, you need to run the following as a regular user:
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
https://kubernetes.io/docs/concepts/cluster-administration/addons/
Then you can join any number of worker nodes by running the following on each as root:
kubeadm join 172.31.20.152:6443 --token sy2t3j.cwofm0gt5ke6emgv \
--discovery-token-ca-cert-hash sha256:61549257d221508615c7940389a4437f3b56566a2e53c31e0e41d60a569b212d
namespace:
-
gloo-system
-
gateway
- environement
- product
- api doc
- api doc
- product
- api doc
- ...
- ...
- product
- ...
- environement
-
kind
- rendre dispo
- Deployment
- Service
- verifier dispo
kubectl -n gloo-system get upstreams
- verifier dispo
- yml ou json => API
- APIDoc
- verifier dispo
kubectl get apidockubectl get apidoc petstore-openapi-v1-pets -o yaml
- verifier dispo
- APIDoc
- product
- APIProduct
- rendre dispo