-
Notifications
You must be signed in to change notification settings - Fork 873
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
Installation fails on Ubuntu 20.04 #4317
Comments
cc @chivalryq |
What more information is needed? |
Cluster is ready. You can run this to check the vela-core deployment status. export KUBECONFIG=$(velad kubeconfig --host)
kubectl get deploy -n vela-system -o yaml kubevela-vela-core |
Error from server (NotFound): deployments.apps "kubevela-vela-core" not found |
Oh, sorry, installation fails at "pre-install" stage. Try get jobs at pre-install stage: kubectl get job -A kubectl get job kubevela-vela-core-cluster-gateway-tls-secret-create -o yaml -n vela-system kubectl get job kubevela-vela-core-cluster-gateway-tls-secret-patch -o yaml -n vela-system |
Sorry but you didn't show all the infomation of |
No resources found in default namespace. |
when using kubectl get job -A
|
Sorry, I shorten the command, I mean can you paste all information of kubectl get job -n vela-system -o yaml kubevela-vela-core-admission-create |
apiVersion: batch/v1 |
What about |
Name: kubevela-vela-core-admission-create |
Port / Host Port / Evironment / Mounts / Volumes / Event are none |
The pod is running, check the pod status: kubectl get pod -n vela-system and replace the pod name in following command. kubectl get pod -n vela-system kubevela-vela-core-admission-create-xxxxx -oyaml
kubectl describe pod -n vela-system kubevela-vela-core-admission-create-xxxxx Also a tip: GitHub support Markdown syntax, try wrap code like ``` yaml |
kubectl get pod -n vela-system NAME READY STATUS RESTARTS AGE
kubevela-vela-core-admission-create-s644k 0/1 Pending 0 82m kubectl get pod -n vela-system kubevela-vela-core-admission-create-s644k -oyaml apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2022-07-04T08:10:37Z"
generateName: kubevela-vela-core-admission-create-
labels:
app: vela-core-admission-create
app.kubernetes.io/instance: kubevela
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: vela-core
app.kubernetes.io/version: v1.4.3
controller-uid: c1ed86a7-757a-4632-8484-72cdac16c968
helm.sh/chart: vela-core-v1.4.3
job-name: kubevela-vela-core-admission-create
name: kubevela-vela-core-admission-create-s644k
namespace: vela-system
ownerReferences:
- apiVersion: batch/v1
blockOwnerDeletion: true
controller: true
kind: Job
name: kubevela-vela-core-admission-create
uid: c1ed86a7-757a-4632-8484-72cdac16c968
resourceVersion: "599"
uid: b1dff55e-2c3f-41e0-959e-7ffcf5525801
spec:
containers:
- args:
- create
- --host=vela-core-webhook,vela-core-webhook.vela-system.svc
- --namespace=vela-system
- --secret-name=kubevela-vela-core-admission
- --key-name=tls.key
- --cert-name=tls.crt
image: oamdev/kube-webhook-certgen:v2.4.1
imagePullPolicy: IfNotPresent
name: create
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-pctzl
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: OnFailure
schedulerName: default-scheduler
securityContext:
runAsGroup: 2000
runAsNonRoot: true
runAsUser: 2000
serviceAccount: kubevela-vela-core-admission
serviceAccountName: kubevela-vela-core-admission
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: kube-api-access-pctzl
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2022-07-04T08:10:37Z"
message: '0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/disk-pressure:
}, that the pod didn''t tolerate.'
reason: Unschedulable
status: "False"
type: PodScheduled
phase: Pending
qosClass: BestEffort kubectl describe pod -n vela-system kubevela-vela-core-admission-create-s644k Name: kubevela-vela-core-admission-create-s644k
Namespace: vela-system
Priority: 0
Node: <none>
Labels: app=vela-core-admission-create
app.kubernetes.io/instance=kubevela
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=vela-core
app.kubernetes.io/version=v1.4.3
controller-uid=c1ed86a7-757a-4632-8484-72cdac16c968
helm.sh/chart=vela-core-v1.4.3
job-name=kubevela-vela-core-admission-create
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: Job/kubevela-vela-core-admission-create
Containers:
create:
Image: oamdev/kube-webhook-certgen:v2.4.1
Port: <none>
Host Port: <none>
Args:
create
--host=vela-core-webhook,vela-core-webhook.vela-system.svc
--namespace=vela-system
--secret-name=kubevela-vela-core-admission
--key-name=tls.key
--cert-name=tls.crt
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-pctzl (ro)
Conditions:
Type Status
PodScheduled False
Volumes:
kube-api-access-pctzl:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 88m default-scheduler 0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/disk-pressure: }, that the pod didn't tolerate. |
Do you have enough disk space available? If not, find a way to reclaim free space. |
got it. |
Closing since we have found the problem. Feel free to reopen it if you still have problems about VelaD installation @bxiiiiii :D |
Describe the bug
Installation fails on Ubuntu 20.04
To Reproduce
I am using the Installation from the documentation until using sudo velad install
Screenshots
The text was updated successfully, but these errors were encountered: