-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an ability to try Workspace.Next features #9774
Changes from all commits
95d2bfb
5dc9479
a84b4f8
0591fb8
20da213
ab85152
e010499
f6b639d
b6104fb
2fcdcf1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be nice to have few words in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
||
apiVersion: v1 | ||
kind: List | ||
items: | ||
- apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app: feature-api | ||
name: feature-api-service | ||
spec: | ||
ports: | ||
- name: feature-api | ||
port: 3000 | ||
protocol: TCP | ||
targetPort: 3000 | ||
selector: | ||
app: feature-api | ||
- apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
app: feature-api | ||
name: feature-api | ||
data: | ||
CHE_REGISTRY_UPDATE_INTERVAL: "60" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it value in seconds? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes |
||
CHE_REGISTRY_GITHUB_URL: "https://github.com/garagatyi/che-registry.git" | ||
- apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: feature-api-ingress | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: / | ||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" | ||
nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600" | ||
spec: | ||
rules: | ||
- host: feature.192.168.99.100.nip.io | ||
http: | ||
paths: | ||
- backend: | ||
serviceName: feature-api-service | ||
servicePort: 3000 | ||
- apiVersion: extensions/v1beta1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: feature-api | ||
name: feature-api | ||
spec: | ||
replicas: 1 | ||
revisionHistoryLimit: 2 | ||
selector: | ||
matchLabels: | ||
app: feature-api | ||
strategy: | ||
type: Recreate | ||
template: | ||
metadata: | ||
labels: | ||
app: feature-api | ||
spec: | ||
containers: | ||
- env: | ||
- name: CHE_REGISTRY_UPDATE_INTERVAL | ||
valueFrom: | ||
configMapKeyRef: | ||
key: CHE_REGISTRY_UPDATE_INTERVAL | ||
name: feature-api | ||
- name: CHE_REGISTRY_GITHUB_URL | ||
valueFrom: | ||
configMapKeyRef: | ||
key: CHE_REGISTRY_GITHUB_URL | ||
name: feature-api | ||
image: garagatyi/kubesrv:latest | ||
imagePullPolicy: Always | ||
name: feature-api | ||
ports: | ||
- containerPort: 3000 | ||
name: feature-api | ||
resources: | ||
limits: | ||
memory: 600Mi | ||
requests: | ||
memory: 256Mi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it makes sense to add the same configuration into OS deployment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check workspace next on OS infra, so don't want to add it for the time