aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-01-09 18:36:51 +0000
committerterminaldweller <thabogre@gmail.com>2022-01-09 18:36:51 +0000
commitc203dbd7a4fd282ccf68bab0c2e5cd3cf5d8d22f (patch)
treeb38bd8eb30b20e4dc251c616c6f9096b13333c93
parentupdate (diff)
downloadscripts-c203dbd7a4fd282ccf68bab0c2e5cd3cf5d8d22f.tar.gz
scripts-c203dbd7a4fd282ccf68bab0c2e5cd3cf5d8d22f.zip
updates for more images. they seem to work fine now.seem...
Diffstat (limited to '')
-rw-r--r--kubernetes/ntp/Dockerfile2
-rw-r--r--kubernetes/pihole/pihole-deployment.yaml2
-rw-r--r--kubernetes/squid/squid-proxy-deployment.yaml3
-rw-r--r--kubernetes/unbound/unbound-deployment.yaml16
4 files changed, 16 insertions, 7 deletions
diff --git a/kubernetes/ntp/Dockerfile b/kubernetes/ntp/Dockerfile
new file mode 100644
index 0000000..5e4f0dc
--- /dev/null
+++ b/kubernetes/ntp/Dockerfile
@@ -0,0 +1,2 @@
+FROM alpine:3.15
+apk add --no-cache && apk add --no-cache openntpd
diff --git a/kubernetes/pihole/pihole-deployment.yaml b/kubernetes/pihole/pihole-deployment.yaml
index cd04227..8e5ac39 100644
--- a/kubernetes/pihole/pihole-deployment.yaml
+++ b/kubernetes/pihole/pihole-deployment.yaml
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: pihole
- image: pihole/pihole
+ image: pihole/pihole:2022.01.1
ports:
- containerPort: 53
- containerPort: 67
diff --git a/kubernetes/squid/squid-proxy-deployment.yaml b/kubernetes/squid/squid-proxy-deployment.yaml
index 1fa2c4c..3c6f5c5 100644
--- a/kubernetes/squid/squid-proxy-deployment.yaml
+++ b/kubernetes/squid/squid-proxy-deployment.yaml
@@ -16,13 +16,14 @@ spec:
spec:
containers:
- name: squid
- image: b4tman/squid:5.2
+ image: ubuntu/squid:4.10-20.04_beta
ports:
- containerPort: 80
volumeMounts:
- name: squid-conf
mountPath: /etc/squid/squid.conf
readOnly: true
+ subPath: squid.conf
volumes:
- name: squid-conf
configMap:
diff --git a/kubernetes/unbound/unbound-deployment.yaml b/kubernetes/unbound/unbound-deployment.yaml
index 26f8997..1831e09 100644
--- a/kubernetes/unbound/unbound-deployment.yaml
+++ b/kubernetes/unbound/unbound-deployment.yaml
@@ -2,12 +2,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: unbound
- lables:
+ labels:
app: unbound
spec:
replicas: 1
- selctor:
- matchlabels:
+ selector:
+ matchLabels:
app: unbound
template:
metadata:
@@ -27,9 +27,15 @@ metadata:
spec:
selector:
app: unbound
- type: LoadBalancer
+ type: NodePort
ports:
- protocol: UDP
port: 53
+ name: "unbound-udp-53"
+ targetPort: 53
+ nodePort: 30853
+ - protocol: TCP
+ port: 53
+ name: "unbound-tcp-53"
targetPort: 53
- nodePort: 53
+ nodePort: 30853