Giter Site home page Giter Site logo

zimmertr / tjs-kubernetes-service Goto Github PK

View Code? Open in Web Editor NEW
523.0 35.0 82.0 4.98 MB

Enable enthusiasts and administrators alike to easily provision highly available and production-ready Kubernetes clusters on Proxmox VE.

License: GNU General Public License v3.0

Shell 6.78% HCL 93.22%
kubernetes proxmox terraform linux docker qemu virtualization containerization cluster-api-provider-proxmox proxmox-ve

tjs-kubernetes-service's People

Contributors

jgoodhcg avatar nicholasrobertm avatar renovate[bot] avatar romracer avatar zimmertr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tjs-kubernetes-service's Issues

No inter-pod communication in Buster

Man, I found this project looking for a way to run k8s on Proxmox easily. I thought "hell yea! this guy did the work for me."

But then I tried it and failed despite not being new to any of this. My pods were unable to communicate with each other. I tried everything I could think of: using canal instead of calico, using flannel instead of canal, using vxlan, using udp, using host-gw. Nothing was working. I could maybe ping between nodes, but certainly not pods.

Then, I found it! Debian 10 / Buster is using iptables >= 1.8, which operates in NFT mode by default.

I found two solutions. One is to install arptables and ebtables as part of the base packages, and then use something like this to force legacy mode:

      - name: Enabling iptables-legacy mode.
        become: yes
        shell: >
            update-alternatives --set {{ item.name }} /usr/sbin/{{ item.name }}-legacy
        with_items:
            - { name: "iptables" }
            - { name: "ip6tables" }
            - { name: "arptables" }
            - { name: "ebtables" }

The other requires Calico v3.8.1 which added support for this version of iptables. For this to work you must set FELIX_IPTABLESBACKEND=NFT. I'm not great at Ansible, so I came up with this:

      - name: Enable nftables backend for Calico.
        blockinfile:
            path: /tmp/calico.yml
            insertbefore: '^\s*securityContext\:'
            block: |4
                            - name: FELIX_IPTABLESBACKEND
                              value: "NFT"

That wouldn't work for like flannel though, I think. Either way, I tested both solutions and they both provide pod to pod communication. I deployed MetalLB on top and it could communicate with the apiserver (which it failed to do before, which is how I noticed all of this).

Ubuntu hanging after kernal panic

Rolling this with an ubuntu image (of any kind) causes it to hang after kernal panic. this looks to be related to what's in this:
https://kb.vmware.com/s/article/52683
Thread.

Basically, if you don't start the VM with a serial port, it will get stuck in kernal panic. Solving this can be done with qm set vmid --serial 0 or via doing it in the UI during the process before the reboot happens

Disk resize error

deploy_qcow2_vms.yml (line 78):

qm resize {{ item.id }} scsi0 {{ item.size }}

This resizing works, but somehow ProxMox doesn't recognize or report the change and Ansible doesn't see it and fails the task. I find if I wait a few minutes, ProxMox (and the dashboard) catch up and show the proper resized value. I get past it by waiting or manually adding 1G to each scsi0 disk in the ProxMox dashboard, and then restarting the playbook after the resize task. All's well from there.

tls: internal error on the cluster and see you refer to a potential solution?

Talos 1.5.3, k8s 1.28.2

TLS Issue

Hi and thanks for sharing your setup :)

New to talos and k8s (been using k3s) and have an issue with internal certs not getting signed.

All the csr are 'denied' and I am unable to get the metrics server working amongst other things.

You refer in the link to that thread being the solution, but I am not so sure how that relates here?

Any pointers would be a great help to get the cluster core up and running :)

Thanks

Unable to deploy heapster and influxdb

This is a fresh deployment as of last night. I am unable to deploy heapster and influxdb. Running the following versions-

Running pve-manager/6.0-4/2a719255 (running kernel: 5.0.15-1-pve)

https://cdimage.debian.org/cdimage/openstack/current/debian-10.1.2-20190925-openstack-amd64.qcow2

TASK [Deploying Heapster, InfluxDB, and configuring RBAC for the Dashboard stack.] ********************************************************** ok: [mymaster] => (item=sa_heapster.yml) ok: [mymaster] => (item=rb_heapster.yml) ok: [mymaster] => (item=svc_heapster.yml) ok: [mymaster] => (item=svc_influxdb.yml) failed: [mymaster] (item=dep_heapster.yml) => {"ansible_loop_var": "item", "changed": false, "item": "dep_heapster.yml", "msg": "Failed to find exact match for extensions/v1beta1.Deployment by [kind, name, singularName, shortNames]"} failed: [mymaster] (item=dep_influxdb.yml) => {"ansible_loop_var": "item", "changed": false, "item": "dep_influxdb.yml", "msg": "Failed to find exact match for extensions/v1beta1.Deployment by [kind, name, singularName, shortNames]"}

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.