mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-03-29 02:22:15 +08:00
* changed ubuntu runner * changed minikube action * Version formatting * nonedriveR * update kube version * installing conntrack' * updated other actions * update bg ingress api version * prettify * updated ingress backend for new api version * Added path type * prettify * added logging * added try catch logic to prevent future failures if annotations fail since failing annotations shouldn't affect users * added nullcheck * Added fallback filename if workflow fails to get github filepath due to runner issues * cleanup * added oliver's feedback + unit test demonstrating regex glitch and fix * no longer using blank string for failed regex * add tests and dont split so much * testing * file fix * without fix * Revert "without fix" This reverts commit 8da79a81904db93da579a82a2c93818ef4cb37ab. * fixing labels test * pretty --------- Co-authored-by: David Gamero <david340804@gmail.com>
34 lines
567 B
YAML
34 lines
567 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-deployment2
|
|
labels:
|
|
app: nginx2
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nginx2
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx2
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx
|
|
ports:
|
|
- containerPort: 80
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nginx-service2
|
|
spec:
|
|
selector:
|
|
app: nginx2
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|