Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
okd-apps
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marcones Silva
okd-apps
Commits
6a219933
Commit
6a219933
authored
Nov 08, 2021
by
Marcones Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Execicrio cap 2 execute-troublesoot, arquivo deployment
parent
2ebf57a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
deployment.yaml
deployment.yaml
+45
-0
No files found.
deployment.yaml
0 → 100644
View file @
6a219933
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
labels
:
app
:
psql
name
:
psql
namespace
:
execute-troubleshoot
spec
:
replicas
:
1
selector
:
matchLabels
:
deployment
:
psql
template
:
metadata
:
labels
:
deployment
:
psql
spec
:
containers
:
-
env
:
-
name
:
POSTGRESQL_DATABASE
value
:
db
-
name
:
POSTGRESQL_PASSWORD
value
:
tecpass123
-
name
:
POSTGRESQL_USER
value
:
tecuser
image
:
bitnami/postgresq:13.4.0
name
:
psql
ports
:
-
containerPort
:
5432
protocol
:
TCP
resources
:
{}
volumeMounts
:
-
mountPath
:
/bitnami/postgresql
name
:
psql-volume-1
-
mountPath
:
/docker-entrypoint-initdb.d
name
:
psql-volume-2
-
mountPath
:
/docker-entrypoint-preinitdb.d
name
:
psql-volume-3
volumes
:
-
emptyDir
:
{}
name
:
psql-volume-1
-
emptyDir
:
{}
name
:
psql-volume-2
-
emptyDir
:
{}
name
:
psql-volume-3
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