From 33828c71054307add25536a41f0b902fb3bd724c Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Thu, 14 Nov 2024 23:36:01 +0800 Subject: [PATCH] init --- deployment.yaml | 24 ++++++++++++++++++++++++ namespace.yaml | 7 +++++++ 2 files changed, 31 insertions(+) create mode 100644 deployment.yaml create mode 100644 namespace.yaml diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000..138b86e --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,24 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + creationTimestamp: null + labels: + app: gatewayyy + name: gatewayyy +spec: + replicas: 1 + selector: + matchLabels: + app: gatewayyy + strategy: {} + template: + metadata: + creationTimestamp: null + labels: + app: gatewayyy + spec: + containers: + - image: docker.m.ixdev.cn/library/nginx:latest + name: nginx + resources: {} +status: {} diff --git a/namespace.yaml b/namespace.yaml new file mode 100644 index 0000000..5a1f89f --- /dev/null +++ b/namespace.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Namespace +metadata: + creationTimestamp: null + name: gitops-sample +spec: {} +status: {} \ No newline at end of file