Skip to content
Snippets Groups Projects
Commit 3f8a29c1 authored by Mikhail's avatar Mikhail Committed by Marcia Ramos
Browse files

Simplify example manifest

parent 7782f1a2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment