Git Product home page Git Product logo

Comments (5)

sauryadas avatar sauryadas commented on September 18, 2024

@sanglt thanks for reporting this issue. Can you try again and if the issue persists leave the cluster as is so we can debug and find the issue?

from aks.

sanglt avatar sanglt commented on September 18, 2024

I just remove my current cluster and restart again:

az aks delete --name  myK8sCluster -g GO1AKS
Are you sure you want to perform this operation? (y/n): y
az aks create --resource-group GO1AKS --name myK8sCluster --ssh-key-value ~/.ssh/go1.pub --dns-name-prefix go1 --agent-count 1
 / Running ..
Deployment failed. Correlation ID: f1445e05-d6d2-4d59-8d73-6446fc55d79f. Timeout while polling for control plane provisioning status

I try with other name

az aks create --resource-group GO1AKS --name k8s --ssh-key-value ~/.ssh/go1.pub --dns-name-prefix go1 --agent-count 1
"dnsPrefix": "go1",
    "fqdn": "go1-58a9a26a.hcp.eastus.azmk8s.io",
    "kubernetesVersion": "1.7.7",
    "linuxProfile": {
      "adminUsername": "azureuser",
      "ssh": {
        "publicKeys": [
          {
            "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCaOdJjwQG6jUs2//tRrLoXKAc+WeY/Ziqfc/hljmGjUO8qJHOrazZBDcBrYgnY6PecYM8c0V6YZOBRxoAyh+kqr1CzOf5tEr+jm+N8UrLt8AFe1u9luOjyW5guwtCLQ7SZEN+n/qNGQg7OhcVLN0QkgD4ivgOwYA0qAl8aJT3y2lAYEWJ4JYinxmhbaFgBt3vnj3bDCxV6vlEifJOBWABLiN3A7LoQ907bpnBT1H2S2ndyCxXfLl5XqAYG00HYk57L31cBDohzWmsZZ4aUZLaest/2edwIU0zizKbJvyiUouGIIX3Gw9igN6BuzYosrLtKy3VPw8uRJz7rYdVre4Q9\n"
          }
        ]
      }
    },
    "provisioningState": "Succeeded",
    "servicePrincipalProfile": {
      "clientId": "xxxxx",
      "keyVaultSecretRef": null,
      "secret": null
    }
  },
  "resourceGroup": "GO1AKS",
  "tags": null,
  "type": "Microsoft.ContainerService/ManagedClusters"

Verify its work:

az aks get-credentials -g GO1AKS -n k8s
Merged "k8s" as current context in /Users/sanglt/.kube/config
 ~ kubectl get nodes
NAME                        STATUS    ROLES     AGE       VERSION
aks-agentpool1-34210131-0   Ready     agent     1m        v1.7.7

Upgrade:

az aks upgrade --name k8s -g GO1AKS --kubernetes-version 1.8.2

Same problem:

kubectl get nodes
Unable to connect to the server: net/http: TLS handshake timeout

from aks.

garystafford avatar garystafford commented on September 18, 2024

I performed the exact same actions, upgrading from a healthy Kubernetes version 1.7.7 to 1.8.2. Once it completed successfully, I receive the following errors:

az aks browse --name myDemo --resource-group myDemoAKS
Merged "myDemo" as current context in C:\Users\GARY~1.STA\AppData\Local\Temp\tmpf3klblbv
Unable to connect to the server: net/http: TLS handshake timeout
Could not find dashboard pod: Command '['kubectl', 'get', 'pods', '--kubeconfig', 'C:\\Users\\GARY~1.STA\\AppData\\Local\\Temp\\tmpf3klblbv', '--namespace', 'kube-system', '--output', 'name', '--selector', 'k8s-app=kubernetes-dashboard']' returned non-zero exit status 1.
kubectl get nodes
Unable to connect to the server: net/http: TLS handshake timeout

I have yet to figure out a way around this issue.

from aks.

sauryadas avatar sauryadas commented on September 18, 2024

Thanks . Can you please confirm that you have not deleted the cluster ?

from aks.

sanglt avatar sanglt commented on September 18, 2024

Sorry @ sauryadas but I just delete that cluster. I'm going with the ACS now, and I will try the AKS later.

from aks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.