Commit 3f8a29c1 authored by Mikhail Mazurskiy's avatar Mikhail Mazurskiy Committed by Marcia Ramos

Simplify example manifest

parent 7782f1a2
......@@ -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