Welcome to the Linux Foundation Forum!

I cannot install the istioctl, please see the logs about it

mesh1@mesh1:~$ istioctl install --set values.gateways.istio-ingressgateway.enabled=false
This will install the Istio 1.17.2 default profile with ["Istio core" "Istiod"] components into the cluster. Proceed? (y/N) y
✔ Istio core installed

  • Processing resources for Istiod. Waiting for Deployment/istio-system/istiod
  • Processing resources for Istiod. Waiting for Deployment/istio-system/istiod
    Processing resources for Istiod. Waiting for Deployment/istio-system/istiod

Answers

  • Posts: 26

    I did the follwoing steps to fix the issue:

    mesh1@mesh1:~$ kind delete cluster --name istio
    Deleting cluster "istio" ...

    mesh1@mesh1:~$ kind create cluster --name istio --config istio.yaml
    Creating cluster "istio" ...
    ✓ Ensuring node image (kindest/node:v1.24.0) 🖼
    ✗ Preparing nodes 📦
    ERROR: failed to create cluster: command "docker run --name istio-control-plane --hostname istio-control-plane --label io.x-k8s.kind.role=control-plane --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp --tmpfs /run --volume /var --volume /lib/modules:/lib/modules:ro -e KIND_EXPERIMENTAL_CONTAINERD_SNAPSHOTTER --detach --tty --label io.x-k8s.kind.cluster=istio --net kind --restart=on-failure:1 --init=false --publish=0.0.0.0:80:80/TCP --publish=0.0.0.0:443:443/TCP --publish=127.0.0.1:37525:6443/TCP -e KUBECONFIG=/etc/kubernetes/admin.conf kindest/node:v1.24.0@sha256:0866296e693efe1fed79d5e6c7af8df71fc73ae45e3679af05342239cdc5bc8e" failed with error: exit status 125
    Command Output: ed9f78c85295d7a138460b799b7c7cf9e173669648f1574ef31b6122559b6305
    docker: Error response from daemon: driver failed programming external connectivity on endpoint istio-control-plane (bcd2cad2dfd0980235865f4bcc5e2c3c1209c0a707caa6db34b9fcb0cf57cec6): Bind for 0.0.0.0:443 failed: port is already allocated.

    mesh1@mesh1:~$ kind create cluster --name istio
    Creating cluster "istio" ...
    ✓ Ensuring node image (kindest/node:v1.24.0) 🖼
    ✓ Preparing nodes 📦
    ✓ Writing configuration 📜
    ✓ Starting control-plane 🕹️
    ✓ Installing CNI 🔌
    ✓ Installing StorageClass 💾
    Set kubectl context to "kind-istio"
    You can now use your cluster with:

    kubectl cluster-info --context kind-istio

    Have a nice day! 👋

    mesh1@mesh1:~$ docker start $(docker ps -a -fname=istio1-control-plane -q)
    3cee900330e6

    mesh1@mesh1:~$ kubectl config use-context kind-istio
    Switched to context "kind-istio".

    mesh1@mesh1:~$ curl -L https://istio.io/downloadIstio| sh
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 102 100 102 0 0 348 0 --:--:-- --:--:-- --:--:-- 368
    100 4856 100 4856 0 0 7611 0 --:--:-- --:--:-- --:--:-- 18605

    Downloading istio-1.17.2 from https://github.com/istio/istio/releases/download/1.17.2/istio-1.17.2-linux-amd64.tar.gz ...

    Istio 1.17.2 Download Complete!
    Istio has been successfully downloaded into the istio-1.17.2 folder on your system.
    Next Steps:
    See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.

    To configure the istioctl client tool for your workstation,
    add the /home/mesh1/istio-1.17.2/bin directory to your environment path variable with:
    export PATH="$PATH:/home/mesh1/istio-1.17.2/bin"

    Begin the Istio pre-installation check by running:
    istioctl x precheck

    Need more information? Visit https://istio.io/latest/docs/setup/install/

    mesh1@mesh1:~$ export PATH="$PATH:/home/mesh1/istio-1.17.2/bin"

    mesh1@mesh1:~$ echo "exportPATH=$PATH:$HOME/istio-1.17.2/bin" >> ~/.bashrc

    mesh1@mesh1:~$ istioctl install --set values.gateways.istio-ingressgateway.enabled=false
    This will install the Istio 1.17.2 default profile with ["Istio core" "Istiod"] components into the cluster. Proceed? (y/N) y
    ✔ Istio core installed
    ✔ Istiod installed
    ✔ Installation complete
    Making this installation the default for injection and validation.

    Thank you for installing Istio 1.17. Please take a few minutes to tell us about your install/upgrade experience! https://forms.gle/hMHGiwZHPU7UQRWe9

    Regards,
    Arturo

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training