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
#### Example manifest file
This file creates an NGINX deployment.
This file creates a minimal `ConfigMap`:
```yaml
apiVersion: apps/v1
kind: Deployment
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-deployment
name: demo-map
namespace: gitlab-kubernetes-agent # Can be any namespace managed by you that the agent has access to.
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
data:
key: value
```
## 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