mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-08-20 04:36:50 +00:00
* refactor test structure * update syntax to include template/spec layout * update syntax to include template/spec layout Co-authored-by: Robert Brennan <accounts@rbren.io>
23 lines
385 B
YAML
23 lines
385 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zookeeper
|
|
labels:
|
|
app.kubernetes.io/name: zookeeper
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: zookeeper
|
|
image: zookeeper
|
|
---
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: zookeeper-pdb
|
|
spec:
|
|
minAvailable: 2
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: zookeeper
|