-
Notifications
You must be signed in to change notification settings - Fork 20
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
When using sandbox the editor is freezing for a few seconds on startup #613
Comments
…#613) Signed-off-by: Andre Dietisheim <[email protected]>
…#613) Signed-off-by: Andre Dietisheim <[email protected]>
…#613) Signed-off-by: Andre Dietisheim <[email protected]>
The freeze is caused by |
The freeze can only be experienced when using the Red Hat Developer Sandbox (or any remote cluster) and when using a multi-resource document like the document pasted below. It is generated when https://github.com/adietish/openshift-quickstart is built ( ---
apiVersion: v1
kind: Service
metadata:
annotations:
app.openshift.io/vcs-url: <<unknown>>
app.quarkus.io/build-timestamp: 2023-06-30 - 12:24:49 +0000
labels:
app.kubernetes.io/name: openshift-quickstart
app.kubernetes.io/version: 1.0.0-SNAPSHOT
app.kubernetes.io/managed-by: quarkus
app.openshift.io/runtime: quarkus
name: openshift-quickstart
spec:
ports:
- name: https
port: 443
protocol: TCP
targetPort: 8443
- name: http
port: 80
protocol: TCP
targetPort: 8080
selector:
app.kubernetes.io/name: openshift-quickstart
app.kubernetes.io/version: 1.0.0-SNAPSHOT
type: ClusterIP
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
app.openshift.io/vcs-url: <<unknown>>
app.quarkus.io/build-timestamp: 2023-06-30 - 12:24:49 +0000
labels:
app.kubernetes.io/name: openshift-quickstart
app.kubernetes.io/version: 1.0.0-SNAPSHOT
app.kubernetes.io/managed-by: quarkus
app.openshift.io/runtime: quarkus
name: openshift-quickstart
spec:
dockerImageRepository: docker.io/adietish/openshift-quickstart
lookupPolicy:
local: true
---
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
app.openshift.io/vcs-url: <<unknown>>
app.quarkus.io/build-timestamp: 2023-06-30 - 12:24:49 +0000
labels:
app.kubernetes.io/name: openshift-quickstart
app.kubernetes.io/version: 1.0.0-SNAPSHOT
app.kubernetes.io/managed-by: quarkus
app.openshift.io/runtime: quarkus
name: openshift-quickstart
spec:
replicas: 1
selector:
app.kubernetes.io/version: 1.0.0-SNAPSHOT
app.kubernetes.io/name: openshift-quickstart
template:
metadata:
annotations:
app.openshift.io/vcs-url: <<unknown>>
app.quarkus.io/build-timestamp: 2023-06-30 - 12:24:49 +0000
labels:
app.kubernetes.io/managed-by: quarkus
app.openshift.io/runtime: quarkus
app.kubernetes.io/version: 1.0.0-SNAPSHOT
app.kubernetes.io/name: openshift-quickstart
spec:
containers:
- env:
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: openshift-quickstart:1.0.0-SNAPSHOT
imagePullPolicy: Always
name: openshift-quickstart
ports:
- containerPort: 8443
name: https
protocol: TCP
- containerPort: 8080
name: http
protocol: TCP
triggers:
- imageChangeParams:
automatic: true
containerNames:
- openshift-quickstart
from:
kind: ImageStreamTag
name: openshift-quickstart:1.0.0-SNAPSHOT
type: ImageChange
---
apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
app.openshift.io/vcs-url: <<unknown>>
app.quarkus.io/build-timestamp: 2023-06-30 - 12:24:49 +0000
labels:
app.kubernetes.io/name: openshift-quickstart
app.kubernetes.io/version: 1.0.0-SNAPSHOT
app.kubernetes.io/managed-by: quarkus
app.openshift.io/runtime: quarkus
name: openshift-quickstart
spec:
port:
targetPort: http
to:
kind: Service
name: openshift-quickstart |
…#613) Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Steps:
quarkus create app org.acme:kubernetes-quickstart \ --extension='resteasy-reactive,kubernetes,jib'
./mvnw clean package
target/kubernetes/openshift.yml
in an editorResult:
At some point the editor is freezing for a few seconds (maybe 4s) before it displays the notification
The text was updated successfully, but these errors were encountered: