diff --git a/01_nginx/yaml/03_service.yaml b/01_nginx/yaml/03_service.yaml new file mode 100644 index 0000000..653b20f --- /dev/null +++ b/01_nginx/yaml/03_service.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: nginx +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 80 + selector: + app: nginx + type: ClusterIP + +# vim: set ts=2 sw=2 et: diff --git a/01_nginx/yaml/04_configmap.yaml b/01_nginx/yaml/04_configmap.yaml new file mode 100644 index 0000000..9fceee1 --- /dev/null +++ b/01_nginx/yaml/04_configmap.yaml @@ -0,0 +1,11 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-webpage +data: + index.html: | +
+