--- apiVersion: v1 kind: Service metadata: annotations: kompose.cmd: kompose convert -o deployment.yaml -n pihole kompose.service.expose: pihole.wayl.one kompose.version: 1.31.2 (a92241f79) creationTimestamp: null labels: io.kompose.service: pihole name: pihole namespace: pihole spec: ports: - name: "80" port: 80 targetPort: 80 selector: io.kompose.service: pihole status: loadBalancer: {} --- apiVersion: v1 kind: Namespace metadata: creationTimestamp: null name: pihole namespace: pihole spec: {} status: {} --- apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert -o deployment.yaml -n pihole kompose.service.expose: pihole.wayl.one kompose.version: 1.31.2 (a92241f79) creationTimestamp: null labels: io.kompose.service: pihole name: pihole namespace: pihole spec: replicas: 1 selector: matchLabels: io.kompose.service: pihole strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert -o deployment.yaml -n pihole kompose.service.expose: pihole.wayl.one kompose.version: 1.31.2 (a92241f79) creationTimestamp: null labels: io.kompose.network/pihole-default: "true" io.kompose.service: pihole spec: containers: - env: - name: TZ value: America/Chicago - name: WEBPASSWORD value: password image: pihole/pihole:latest name: pihole ports: - containerPort: 80 protocol: TCP resources: {} securityContext: capabilities: add: - NET_ADMIN volumeMounts: - mountPath: /etc/pihole name: pihole - mountPath: /etc/dnsmasq.d name: dnsmasq restartPolicy: Always volumes: - name: pihole persistentVolumeClaim: claimName: pihole - name: dnsmasq persistentVolumeClaim: claimName: dnsmasq status: {} --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: kompose.cmd: kompose convert -o deployment.yaml -n pihole kompose.service.expose: pihole.wayl.one kompose.version: 1.31.2 (a92241f79) creationTimestamp: null labels: io.kompose.service: pihole name: pihole namespace: pihole spec: rules: - host: pihole.wayl.one http: paths: - backend: service: name: pihole port: number: 80 path: / pathType: Prefix status: loadBalancer: {} --- apiVersion: v1 kind: PersistentVolumeClaim metadata: creationTimestamp: null labels: io.kompose.service: pihole name: pihole namespace: pihole spec: accessModes: - ReadWriteOnce resources: requests: storage: 100Mi status: {} --- apiVersion: v1 kind: PersistentVolumeClaim metadata: creationTimestamp: null labels: io.kompose.service: dnsmasq name: dnsmasq namespace: pihole spec: accessModes: - ReadWriteOnce resources: requests: storage: 100Mi status: {}