Skip to content

Commit

Permalink
adding S19 commands
Browse files Browse the repository at this point in the history
  • Loading branch information
BretFisher committed Aug 29, 2023
1 parent c817a44 commit 7db447e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions references/S18 Kubernetes Management Techniques.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Kubernetes Management Techniques

## YAML Generators in kubectl Commands

- [kubectl Usage Conventions and Best Practices](https://kubernetes.io/docs/reference/kubectl/conventions/)

```shell
kubectl create deployment test --image nginx --dry-run=client
kubectl create deployment test --image nginx --dry-run=client -o yaml
kubectl create job test --image nginx -dry-run=client -o yaml
kubectl expose deployment/test --port 80 --dry-run=client -o -yaml
kubectl create deployment test --image nginx
kubectl expose deployment/test --port 80 --dry-run=client -o -yaml
kubectl delete deployment test
```
## Three Management Approaches

- [Kubernetes Object Management](https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/)
- [Managing Kubernetes Objects Using Imperative Commands](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/)
- [Imperative Management of Kubernetes Objects Using Configuration Files](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/)
- [Declarative Management of Kubernetes Objects Using Configuration Files](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/)

0 comments on commit 7db447e

Please sign in to comment.