Giter VIP home page Giter VIP logo

Comments (5)

kke avatar kke commented on August 30, 2024

For reference, here is what the k0s section looks like with --k0s:

  k0s:
    config:
      apiVersion: k0s.k0sproject.io/v1beta1
      kind: Cluster
      metadata:
        name: k0s
      spec:
        api:
          k0sApiPort: 9443
          port: 6443
        installConfig:
          users:
            etcdUser: etcd
            kineUser: kube-apiserver
            konnectivityUser: konnectivity-server
            kubeAPIserverUser: kube-apiserver
            kubeSchedulerUser: kube-scheduler
        konnectivity:
          adminPort: 8133
          agentPort: 8132
        network:
          kubeProxy:
            disabled: false
            mode: iptables
          kuberouter:
            autoMTU: true
            mtu: 0
            peerRouterASNs: ""
            peerRouterIPs: ""
          podCIDR: 10.244.0.0/16
          provider: kuberouter
          serviceCIDR: 10.96.0.0/12
        podSecurityPolicy:
          defaultPolicy: 00-k0s-privileged
        storage:
          type: etcd
        telemetry:
          enabled: true

When k0s.config is not set, k0sctl will use the output of k0s config create to create a default config.

This would then mean that the default config of k0s does not work, which I don't think is likely.

from k0sctl.

RobertMirantis avatar RobertMirantis commented on August 30, 2024

from k0sctl.

RobertMirantis avatar RobertMirantis commented on August 30, 2024

from k0sctl.

twz123 avatar twz123 commented on August 30, 2024

There seems to be some networking problem. The konnectivity agents have some troubles to connect to the k0s controller. I guess CoreDNS and metrics-server are failing for similar reasons. Can you check the pod logs directly on the worker node? They should be in /var/log/containers/konnectivity-agent-*.log, /var/log/containers/coredns-*.log and so on.

from k0sctl.

RobertMirantis avatar RobertMirantis commented on August 30, 2024

Something has changed. Same terraform scripts (running a k0sctl init without --k0s ) is now working fine.

from k0sctl.

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.