Skip to content
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

(Invalid): error when creating "deployment.yaml" #16

Open
Binsoma opened this issue Jan 23, 2023 · 0 comments
Open

(Invalid): error when creating "deployment.yaml" #16

Binsoma opened this issue Jan 23, 2023 · 0 comments

Comments

@Binsoma
Copy link

Binsoma commented Jan 23, 2023

Hi, how can I resolve this error? the following is the output

suggestions much appriciated.

kubectl apply -f deployment.yaml

configmap/gethconfig-miner unchanged
configmap/monitor-config unchanged
configmap/genesis-config unchanged
service/miner-svc unchanged
service/geth-bootnode-svc unchanged
pod/geth-boot-node-pod configured
service/monitor-svc unchanged
Error from server (Invalid): error when creating "deployment.yaml": DaemonSet.apps "geth-boot-node-setup-pod" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"app":"kuberneteth", "name":"bootnode-setup-pod"}: selector does not match template labels
Error from server (Invalid): error when creating "deployment.yaml": Deployment.apps "geth-miner-deployment" is invalid: [spec.selector: Required value, spec.template.metadata.labels: Invalid value: map[string]string{"app":"kuberneteth", "name":"miner-deployment", "tier":"backend"}: selector does not match template labels]
Error from server (Invalid): error when creating "deployment.yaml": Deployment.apps "monitor-deployment" is invalid: [spec.selector: Required value, spec.template.metadata.labels: Invalid value: map[string]string{"app":"kuberneteth", "name":"monitor-deployment", "tier":"frontend"}: selector does not match template labels]
(k8s-ethereum-1P5MJUuk) root@dei3:/home/admin/devops/kuberneteth# nano deployment.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant