Created
May 14, 2024 11:13
-
-
Save nitinsatish/65d231754ae36a3d195b1920313bc251 to your computer and use it in GitHub Desktop.
[Kubernetes deployment for testing using ubuntu] #k8s
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: test-client | |
namespace: test-client | |
spec: | |
selector: | |
matchLabels: | |
app: test-client | |
replicas: 1 | |
template: | |
metadata: | |
name: test-client | |
labels: | |
app: test-client | |
spec: | |
# Optional serviceAccountName | |
serviceAccountName: test-client-sa | |
containers: | |
- name: test-client | |
image: ubuntu:noble | |
command: [ "/bin/sh" , "-c", "tail -f /dev/null" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment