Skip to content

Commit

Permalink
Remove outdated syntax
Browse files Browse the repository at this point in the history
Deployment can not be created directly with port and replicas in the newer versions of kubectl.

See  dgkanatsios#143
  • Loading branch information
JamesMcMahon authored Oct 21, 2020
1 parent 8f423cc commit 76e1529
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions c.pod_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,6 @@ or, do something like:
kubectl create deployment nginx --image=nginx:1.7.8 --dry-run=client -o yaml | sed 's/replicas: 1/replicas: 2/g' | sed 's/image: nginx:1.7.8/image: nginx:1.7.8\n ports:\n - containerPort: 80/g' | kubectl apply -f -
```

or,
```bash
kubectl create deploy nginx --image=nginx:1.7.8 --replicas=2 --port=80
```

</p>
</details>

Expand Down

0 comments on commit 76e1529

Please sign in to comment.