Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3f8a29c1
Commit
3f8a29c1
authored
Sep 15, 2021
by
Mikhail Mazurskiy
Committed by
Marcia Ramos
Sep 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify example manifest
parent
7782f1a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
19 deletions
+6
-19
doc/user/clusters/agent/index.md
doc/user/clusters/agent/index.md
+6
-19
No files found.
doc/user/clusters/agent/index.md
View file @
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 a
n 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment