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-amd64
          • chmod +x ./kind
          • mettre dans le PATH
      • Creating a Cluster
        • kind create cluster # Default cluster context name is kind
          • āœ“ Ensuring node image (kindest/node:v1.24.0) šŸ–¼
          • āœ“ Preparing nodes šŸ“¦
          • āœ“ Writing configuration šŸ“œ
          • āœ“ Starting control-plane šŸ•¹ļø
          • āœ“ Installing CNI šŸ”Œ
          • āœ“ Installing StorageClass šŸ’¾
        • kind get clusters
          • kind
        • $ kubectl cluster-info --context kind-kind
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
        • ...
      • ...
    • ...
  • kind

    • rendre dispo
      • Deployment
      • Service
        • verifier dispo
          • kubectl -n gloo-system get upstreams
    • yml ou json => API
      • APIDoc
        • verifier dispo
          • kubectl get apidoc
          • kubectl get apidoc petstore-openapi-v1-pets -o yaml
    • product
      • APIProduct