Created
August 2, 2022 02:08
-
-
Save mamercad/bea85d3608d01c0d1ba03355b500c644 to your computer and use it in GitHub Desktop.
default minikube coredns deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ ~ minikube kubectl -- --namespace kube-system get deploy coredns -o yaml | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: "1" | |
creationTimestamp: "2022-08-02T02:05:45Z" | |
generation: 2 | |
labels: | |
k8s-app: kube-dns | |
name: coredns | |
namespace: kube-system | |
resourceVersion: "392" | |
uid: 95d15a7f-6423-4531-9ccf-b848eb74f79a | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
k8s-app: kube-dns | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 1 | |
type: RollingUpdate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
k8s-app: kube-dns | |
spec: | |
containers: | |
- args: | |
- -conf | |
- /etc/coredns/Corefile | |
image: k8s.gcr.io/coredns/coredns:v1.8.6 | |
imagePullPolicy: IfNotPresent | |
livenessProbe: | |
failureThreshold: 5 | |
httpGet: | |
path: /health | |
port: 8080 | |
scheme: HTTP | |
initialDelaySeconds: 60 | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 5 | |
name: coredns | |
ports: | |
- containerPort: 53 | |
name: dns | |
protocol: UDP | |
- containerPort: 53 | |
name: dns-tcp | |
protocol: TCP | |
- containerPort: 9153 | |
name: metrics | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /ready | |
port: 8181 | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
resources: | |
limits: | |
memory: 170Mi | |
requests: | |
cpu: 100m | |
memory: 70Mi | |
securityContext: | |
allowPrivilegeEscalation: false | |
capabilities: | |
add: | |
- NET_BIND_SERVICE | |
drop: | |
- all | |
readOnlyRootFilesystem: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /etc/coredns | |
name: config-volume | |
readOnly: true | |
dnsPolicy: Default | |
nodeSelector: | |
kubernetes.io/os: linux | |
priorityClassName: system-cluster-critical | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: coredns | |
serviceAccountName: coredns | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- key: CriticalAddonsOnly | |
operator: Exists | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/control-plane | |
volumes: | |
- configMap: | |
defaultMode: 420 | |
items: | |
- key: Corefile | |
path: Corefile | |
name: coredns | |
name: config-volume | |
status: | |
availableReplicas: 1 | |
conditions: | |
- lastTransitionTime: "2022-08-02T02:05:58Z" | |
lastUpdateTime: "2022-08-02T02:05:58Z" | |
message: Deployment has minimum availability. | |
reason: MinimumReplicasAvailable | |
status: "True" | |
type: Available | |
- lastTransitionTime: "2022-08-02T02:05:58Z" | |
lastUpdateTime: "2022-08-02T02:06:02Z" | |
message: ReplicaSet "coredns-6d4b75cb6d" has successfully progressed. | |
reason: NewReplicaSetAvailable | |
status: "True" | |
type: Progressing | |
observedGeneration: 2 | |
readyReplicas: 1 | |
replicas: 1 | |
updatedReplicas: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment