chris-short / rak8s

Stand up a Raspberry Pi based Kubernetes cluster with Ansible
MIT License
365 stars 112 forks source link

Kubelet install failure and deprecation warning fix (#58) #59

Closed chris-short closed 4 years ago

chris-short commented 5 years ago

commit 22cad03f2d0fe03da1abed89a3f11e5cf684b0b5 Author: Chris Short chris@chrisshort.net Date: Mon Jan 15 17:52:36 2018 -0500

removing ignorable files

commit 89e1199ccbd24ba495789b79fcffcdae90010f57 Author: Chris Short chris@chrisshort.net Date: Mon Jan 15 17:47:06 2018 -0500

Updating .gitignore

Signed-off-by: Chris Short <chris@chrisshort.net>

commit e90c58b8e785aebc4432b53fe08935d3f16012ad Author: Chris Short chris@chrisshort.net Date: Mon Jan 15 17:43:53 2018 -0500

Initial rak8s Commit

Signed-off-by: Chris Short chris@chrisshort.net

Closes #1.

See: https://github.com/raspberrypi/linux/commit/ba742b52e5099b3ed964e78f227dc96460b5cdc0

I found the elimination of cgroup_enable=memory actually broke my raspbian kubernetes setup. putting both worked with my testing after reboot.

Signed-off-by: Chris Short chris@chrisshort.net

Signed-off-by: Chris Short chris@chrisshort.net

Adding link to Discourse site

Signed-off-by: Chris Short chris@chrisshort.net

Long overdue

Signed-off-by: Chris Short chris@chrisshort.net

/etc/os-release has the preferred data

Signed-off-by: Chris Short chris@chrisshort.net

Signed-off-by: Chris Short chris@chrisshort.net

Signed-off-by: Chris Short chris@chrisshort.net

updating README with some info that helped me when following the documentation

Allows for slowed nodes to be recognized

This version matching appears to be working as desired on three Raspberry Pi 3B+

The inventory file is breaking up my six node stack into two clusters. This will enable easier development.

A force flag has been added to kubeadm reset

Signed-off-by: Chris Short chris@chrisshort.net

Not sure how that even happened.

Signed-off-by: Chris Short chris@chrisshort.net

TASK [kubeadm : Disable Swap] ** fatal: [rak8s000]: FAILED! => {"changed": true, "cmd": "dphys-swapfile swapoff && dphys-swapfile uninstall && update-rc.d dphys-swapfile remove", "delta": "0:00:00.005302", "end": "2018-12-24 20:35:44.430288", "msg": "non-zero return code", "rc": 127, "start": "2018-12-24 20:35:44.424986", "stderr": "/bin/sh: 1: dphys-swapfile: not found", "stderr_lines": ["/bin/sh: 1: dphys-swapfile: not found"], "stdout": "", "stdout_lines": []} ...ignoring

Packages specified as an array in pkg rather than in with_items resolves "Invoking 'apt' only once while using a loop via squash_actions is deprecated" warning

Resolves "No package matching 'kubelet' is available" error

Description

Testing

Issue Number

My change fixes issue #

chris-short commented 5 years ago

@PostlMC I don't think this is what you wanted.

PostlMC commented 5 years ago

Ugh, yeah. Something's not right here. I'm not sure what I did that made my PR want to roll up all this.

exotime commented 5 years ago

For what it's worth, this branch worked for me when master did not.

MatthiasLohr commented 4 years ago

Anything new on this?

chris-short commented 4 years ago

See Issue #60 for resolution.