Commit 2723255b authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'ash2k/simplify-example' into 'master'

Simplify example manifest

See merge request gitlab-org/gitlab!70135
parents 7782f1a2 3f8a29c1
...@@ -382,29 +382,16 @@ Each time you push a change to a monitored manifest repository, the Agent logs t ...@@ -382,29 +382,16 @@ Each time you push a change to a monitored manifest repository, the Agent logs t
#### Example manifest file #### Example manifest file
This file creates an NGINX deployment. This file creates a minimal `ConfigMap`:
```yaml ```yaml
apiVersion: apps/v1 apiVersion: v1
kind: Deployment kind: ConfigMap
metadata: metadata:
name: nginx-deployment name: demo-map
namespace: gitlab-kubernetes-agent # Can be any namespace managed by you that the agent has access to. namespace: gitlab-kubernetes-agent # Can be any namespace managed by you that the agent has access to.
spec: data:
selector: key: value
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
``` ```
## Example projects ## Example projects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment