Comments (2)
Switched the yaml to single container but still the same error.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: pdns
type: dns
name: pdns
namespace: dns
spec:
selector:
matchLabels:
app: pdns
type: dns
template:
metadata:
labels:
app: pdns
type: dns
spec:
containers:
- image: pschiffe/pdns-mysql:alpine
imagePullPolicy: IfNotPresent
name: pdns-master
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: PDNS_gmysql_host
value: "mysql.db"
- name: PDNS_gmysql_port
value: "3306"
- name: PDNS_gmysql_user
valueFrom:
secretKeyRef:
name: pdns-secret
key: mysqluser
- name: PDNS_gmysql_password
valueFrom:
secretKeyRef:
name: pdns-secret
key: mysqlpass
- name: PDNS_gmysql_dbname
value: "power_dns_live"
- name: PDNS_version_string
value: "anonymous"
- name: PDNS_master
value: "yes"
- name: PDNS_api
value: "yes"
- name: PDNS_api_key
valueFrom:
secretKeyRef:
name: pdns-secret
key: apikey
- name: PDNS_webserver
value: "yes"
- name: PDNS_webserver_address
value: "0.0.0.0"
- name: PDNS_webserver_allow_from
value: "127.0.0.1/32 10.244.0.0/16 10.32.0.0/16"
- name: PDNS_webserver_password
valueFrom:
secretKeyRef:
name: pdns-secret
key: webserver
- name: PDNS_default_ttl
value: "1500"
- name: PDNS_soa_minimum_ttl
value: "1200"
- name: PDNS_default_soa_name
value: "ns1.vjs.net.in"
- name: PDNS_default_soa_mail
value: "dnsmaster.vjs.net.in"
- name: PDNS_allow_axfr_ips
value: "10.0.0.2 10.0.0.3"
- name: PDNS_only_notify
value: "10.0.0.2 10.0.0.3"
- name: PDNS_dnsupdate
value: "yes"
- name: PDNS_allow_dnsupdate_from
value: "10.0.0.1/32 127.0.0.1/32 10.244.0.0/16 10.32.0.0/16"
resources:
limits:
cpu: 300m
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
dnsPolicy: ClusterFirstWithHostNet
restartPolicy: Always
terminationGracePeriodSeconds: 30
from docker-pdns.
got it how to resolve this issue.
i was using pdn-api and pdns-admin and pdns-tcp and pdns-udp as the service names for this deployment.
due to this kubernetes was setting PDNS_ADMIN_PORT for pdns-admin service.
now changed the names to powerdns instead of pdns resolved the issue.
from docker-pdns.
Related Issues (20)
- pdns-admin-base-ngoduykhanh vs PyYAML-5.4 HOT 1
- Version 4.8 support ? HOT 3
- Can't forward a zone HOT 7
- dns port (53) HOT 1
- `pschiffe/pdns-admin` requires CPU with `x86_64-v2` support unlike the rest. HOT 4
- Pdns Webserver is not accepting request from outside docker HOT 2
- Configuration problem HOT 8
- Healthcheck curl isn't effective and cause unhealthy container HOT 3
- pdns new setup HOT 3
- Rootless run HOT 19
- etc/pdns-recursor/recursor.conf HOT 6
- Looking for a installation guide HOT 2
- master slave sync issue? HOT 5
- PowerDNS-Admin: non rr_set events in Zone Changelog HOT 1
- Hosting backend does not support editing records. In which of the three services and which option do i use to fix this? HOT 21
- Problem with replicate of database HOT 2
- Recursor 4.9 with pod security context failes to write the config file. HOT 7
- Can't connect to db(at least pgsql and admin image) HOT 3
- powerdns-admin 0.4.2 HOT 2
- connection refused HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-pdns.