From ca27023d22ceb341fee98a339681bf6d5e0c30a0 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Tue, 2 Jun 2026 19:14:31 +0200 Subject: ansible: change k8s ufw proto + add 2 rules - put any instead of tcp as protocol for k8s mono-port ufw rules - add two rules, following https://docs.k3s.io/installation/requirements?os=debian --- ansible/roles/k8s/tasks/ufw.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'ansible/roles/k8s/tasks/ufw.yml') diff --git a/ansible/roles/k8s/tasks/ufw.yml b/ansible/roles/k8s/tasks/ufw.yml index 2d8dec5..118f332 100644 --- a/ansible/roles/k8s/tasks/ufw.yml +++ b/ansible/roles/k8s/tasks/ufw.yml @@ -9,7 +9,7 @@ community.general.ufw: rule: allow port: 6443 - proto: tcp + proto: any comment: "Kubernetes API server" notify: Restart UFW @@ -25,7 +25,7 @@ community.general.ufw: rule: allow port: 10250 - proto: tcp + proto: any comment: "Kubelet API" notify: Restart UFW @@ -33,7 +33,7 @@ community.general.ufw: rule: allow port: 10259 - proto: tcp + proto: any comment: "kube-scheduler" notify: Restart UFW @@ -41,7 +41,7 @@ community.general.ufw: rule: allow port: 10257 - proto: tcp + proto: any comment: "kube-controller-manager" notify: Restart UFW @@ -49,7 +49,7 @@ community.general.ufw: rule: allow port: 10256 - proto: tcp + proto: any comment: "kube-proxy" notify: Restart UFW @@ -61,6 +61,24 @@ comment: "NodePort services" notify: Restart UFW +- name: Allow from 10.42.0.0/16 to any + community.general.ufw: + rule: allow + from_ip: 10.42.0.0/16 + to_ip: any + proto: any + comment: "pods" + notify: Restart UFW + +- name: Allow from 10.43.0.0/16 to any + community.general.ufw: + rule: allow + from_ip: 10.43.0.0/16 + to_ip: any + proto: any + comment: "services" + notify: Restart UFW + - name: Enable UFW community.general.ufw: state: enabled -- cgit v1.2.3 bmit' value='switch'/> Yet another android myanimelist client
aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle (unfollow)
Commit message (Expand)AuthorFilesLines
2021-05-31Changed the the prev and next button for top animeClyhtsuriva2-16/+5
2021-05-31Adding the base of bottom navigation.Clyhtsuriva10-23/+126
2021-05-23gradle checksum updatedevelopClyhtsuriva1-1/+1
2021-05-22Changing the gradle wrapperv3.2.4release/3.2.4Clyhtsuriva1-1/+1
2021-05-22Version changedClyhtsuriva1-2/+2
2021-05-21Graddle updated and checksum added.Clyhtsuriva4-41/+59
2021-05-20Update README.mdClyhtsuriva1-0/+8
2021-05-20Changing the version. (3.2.3)Clyhtsuriva1-2/+2
2021-05-20Adding fastlane metadata and update README.mdv3.2.2release/3.2.2Clyhtsuriva7-0/+7
2021-05-20Update README.mdClyhtsuriva1-2/+2
2021-05-19Update README.mdv3.2.1Clyhtsuriva1-1/+1
2021-05-19Update README.mdClyhtsuriva1-3/+3
2021-05-19Update README.mdClyhtsuriva1-1/+1
2021-05-19Update README.mdClyhtsuriva1-8/+10
2021-05-19Update README.mdClyhtsuriva1-1/+2
2021-05-19Update README.mdClyhtsuriva1-8/+7
2021-05-19Update README.mdrelease/3.2.1Clyhtsuriva1-6/+21
2021-05-19Big updaterelease/3.2Clyhtsuriva55-235/+193
2021-05-19Update README.mdClyhtsuriva1-1/+5
2021-05-14Update README.mdClyhtsuriva1-1/+3
2021-05-14Update README.mdClyhtsuriva1-0/+23
2021-05-14Update README.md and adding logo onto the main screenrelease/3.1Clyhtsuriva2-10/+13
2021-05-14Singletons on all pages : OKClyhtsuriva6-125/+81
2021-05-14Singletons : DetailTopManga : OKClyhtsuriva2-21/+49
2021-05-14Addedd Singletons for TopManga.Clyhtsuriva3-23/+43