-
Notifications
You must be signed in to change notification settings - Fork 21
Milestone
Description
Steps:
- EXEC: create a json file with the following content (generated by quarkus):
[
{
"apiVersion" : "apps/v1",
"kind" : "Deployment",
"metadata" : {
"annotations" : {
"app.quarkus.io/commit-id" : "874731470682e3f213506357d2f9887bab63be83",
"app.quarkus.io/build-timestamp" : "2023-04-25 - 09:17:12 +0000"
},
"labels" : {
"app.kubernetes.io/version" : "1.0.0-SNAPSHOT",
"app.kubernetes.io/name" : "code-with-quarkus"
},
"name" : "code-with-quarkus"
},
"spec" : {
"replicas" : 1,
"selector" : {
"matchLabels" : {
"app.kubernetes.io/version" : "1.0.0-SNAPSHOT",
"app.kubernetes.io/name" : "code-with-quarkus"
}
},
"template" : {
"metadata" : {
"annotations" : {
"app.quarkus.io/commit-id" : "874731470682e3f213506357d2f9887bab63be83",
"app.quarkus.io/build-timestamp" : "2023-04-25 - 09:17:12 +0000"
},
"labels" : {
"app.kubernetes.io/version" : "1.0.0-SNAPSHOT",
"app.kubernetes.io/name" : "code-with-quarkus"
}
},
"spec" : {
"containers" : [ {
"env" : [ {
"name" : "KUBERNETES_NAMESPACE",
"valueFrom" : {
"fieldRef" : {
"fieldPath" : "metadata.namespace"
}
}
} ],
"image" : "minikube/andredietisheim/code-with-quarkus:1.0.0-SNAPSHOT",
"imagePullPolicy" : "Always",
"name" : "code-with-quarkus",
"ports" : [ {
"containerPort" : 8080,
"name" : "http",
"protocol" : "TCP"
} ]
} ]
}
}
}
},{
"apiVersion" : "v1",
"kind" : "Service",
"metadata" : {
"annotations" : {
"app.quarkus.io/commit-id" : "874731470682e3f213506357d2f9887bab63be83",
"app.quarkus.io/build-timestamp" : "2023-04-25 - 09:17:12 +0000"
},
"labels" : {
"app.kubernetes.io/name" : "code-with-quarkus",
"app.kubernetes.io/version" : "1.0.0-SNAPSHOT"
},
"name" : "code-with-quarkus"
},
"spec" : {
"ports" : [ {
"name" : "http",
"port" : 80,
"protocol" : "TCP",
"targetPort" : 8080
} ],
"selector" : {
"app.kubernetes.io/name" : "code-with-quarkus",
"app.kubernetes.io/version" : "1.0.0-SNAPSHOT"
},
"type" : "ClusterIP"
}
}
]
- EXEC: try to push it to the cluster
Result:
You cannot. The editor does not have the toolbar with push, pull etc.
Metadata
Metadata
Assignees
Labels
No labels