Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Eclipse Foundation Profile API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
APIs
Eclipse Foundation Profile API
Commits
cb1d49ca
Commit
cb1d49ca
authored
2 years ago
by
Martin Lowe
Browse files
Options
Downloads
Plain Diff
Merge branch 'malowe/main/19' into 'main'
Iss
#19
- Add staging k8s def See merge request
!4
parents
13fd7c94
97f32f31
No related branches found
No related tags found
1 merge request
!4
Iss #19 - Add staging k8s def
Pipeline
#14753
passed
2 years ago
Stage: external
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/k8s/staging.yml
+91
-0
91 additions, 0 deletions
src/main/k8s/staging.yml
with
91 additions
and
0 deletions
src/main/k8s/staging.yml
0 → 100644
+
91
−
0
View file @
cb1d49ca
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
eclipsefdn-profile-api-staging
namespace
:
foundation-internal-webdev-apps
labels
:
app
:
eclipsefdn-profile-api
environment
:
staging
spec
:
selector
:
matchLabels
:
app
:
eclipsefdn-profile-api
environment
:
staging
replicas
:
1
template
:
metadata
:
labels
:
app
:
eclipsefdn-profile-api
environment
:
staging
spec
:
affinity
:
nodeAffinity
:
preferredDuringSchedulingIgnoredDuringExecution
:
-
preference
:
matchExpressions
:
-
key
:
speed
operator
:
NotIn
values
:
-
fast
weight
:
1
containers
:
-
name
:
app
image
:
eclipsefdn/eclipsefdn-profile-api:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
8090
resources
:
limits
:
cpu
:
500m
memory
:
384Mi
requests
:
cpu
:
100m
memory
:
384Mi
env
:
-
name
:
CONFIG_SECRET_PATH
value
:
"
/run/secrets/eclipsefdn-profile-api/secret.properties"
volumeMounts
:
-
name
:
secret-properties
mountPath
:
"
/run/secrets/eclipsefdn-profile-api"
readOnly
:
true
volumes
:
-
name
:
secret-properties
secret
:
secretName
:
eclipsefdn-profile-api-staging
---
apiVersion
:
"
v1"
kind
:
"
Service"
metadata
:
name
:
eclipsefdn-profile-api-staging
namespace
:
foundation-internal-webdev-apps
spec
:
ports
:
-
name
:
"
http"
port
:
80
protocol
:
"
TCP"
targetPort
:
8090
selector
:
app
:
eclipsefdn-profile-api
environment
:
staging
---
apiVersion
:
"
route.openshift.io/v1"
kind
:
"
Route"
metadata
:
name
:
eclipsefdn-profile-api-staging
namespace
:
foundation-internal-webdev-apps
annotations
:
haproxy.router.openshift.io/timeout
:
20s
haproxy.router.openshift.io/disable_cookies
:
"
true"
haproxy.router.openshift.io/balance
:
roundrobin
spec
:
host
:
"
api-staging.eclipse.org"
path
:
"
/v2/profile"
port
:
targetPort
:
"
http"
tls
:
insecureEdgeTerminationPolicy
:
"
Redirect"
termination
:
"
edge"
to
:
kind
:
"
Service"
name
:
eclipsefdn-profile-api-staging
weight
:
100
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment