Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "kind": "Deployment",
- "apiVersion": "extensions/v1beta1",
- "metadata": {
- "name": "teste",
- "labels": {
- "app": "teste"
- }
- },
- "spec": {
- "replicas": 1,
- "selector": {
- "matchLabels": {
- "app": "teste"
- }
- },
- "template": {
- "metadata": {
- "labels": {
- "app": "teste"
- }
- },
- "spec": {
- "containers": [
- {
- "name": "nginx",
- "image": "nginx:latest",
- "imagePullPolicy": "IfNotPresent",
- "resources": {
- "limits": {
- "cpu": "180m",
- "memory": "600Mi"
- },
- "requests": {
- "cpu": "100m",
- "memory": "256Mi"
- }
- }
- },
- {
- "name": "alpine",
- "image": "alpine:latest",
- "imagePullPolicy": "IfNotPresent",
- "resources": {
- "limits": {
- "cpu": "180m",
- "memory": "600Mi"
- },
- "requests": {
- "cpu": "100m",
- "memory": "256Mi"
- }
- }
- }
- ],
- "volumes": [
- {
- "name": "secret-volume"
- }
- ]
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement