Last active
January 15, 2019 16:51
-
-
Save jsturtevant/085fd5c8515c8e8f49858a6b0d092f74 to your computer and use it in GitHub Desktop.
dns checks
This file contains hidden or 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
test: liveness | |
name: dns-liveness-windows | |
spec: | |
containers: | |
- name: dns-liveness | |
image: mcr.microsoft.com/windows/servercore:1809 | |
args: | |
- powershell | |
- "-command" | |
- "while ($true){ Start-Sleep -s 5; echo 'sleeping'}" | |
livenessProbe: | |
exec: | |
command: | |
- nslookup | |
- bbc.co.uk | |
initialDelaySeconds: 5 | |
periodSeconds: 5 | |
nodeSelector: | |
beta.kubernetes.io/os: windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment