From c4f5d357828ac0b31332b788f71b78dcb970e077 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 24 Jun 2023 19:58:17 +0000 Subject: [PATCH] Update file test.yaml --- durpapi/templates/test.yaml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 durpapi/templates/test.yaml diff --git a/durpapi/templates/test.yaml b/durpapi/templates/test.yaml new file mode 100644 index 0000000..5fb39f7 --- /dev/null +++ b/durpapi/templates/test.yaml @@ -0,0 +1,41 @@ +apiVersion: v1 +kind: Service +metadata: + name: "{{ .Chart.Name }}-service" +spec: + ports: + - name: http + port: 80 + targetPort: 80 + protocol: TCP + selector: + app: test + +--- + +apiVersion: v1 +kind: Service +metadata: + name: test +spec: + ports: + - name: http + port: 80 + protocol: TCP + targetPort: 80 + clusterIP: None + type: ClusterIP + +--- + +apiVersion: v1 +kind: Endpoints +metadata: + name: test +subsets: +- addresses: + - ip: 192.168.130.2 + ports: + - name: http + port: 80 + protocol: TCP