Skip to content

Deployment not working out of the box #1162

Description

@hown3d

Description

The example deployment for cloud-controller-manager is not working as the image does not exist.
Also it does not tolerate the node.cloudprovider.kubernetes.io/uninitialized taint which is set by kubelet if it has the flag --cloud-provider=external set.

Steps to reproduce

$ kubectl apply -k deploy/
$ kubectl describe pod <cloud-controller-manager>
Warning  FailedScheduling  1s    default-scheduler  0/3 nodes are available: 3 node(s) had untolerated taint(s).
 no new claims to deallocate, preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.

# Adding toleration
$ kubectl describe pod <cloud-controller-manager>
  Warning  Failed     6s (x3 over 50s)   kubelet            spec.containers{stackit-cloud-controller-manager}: Failed to p
ull image "ghcr.io/stackitcloud/cloud-provider-stackit/cloud-controller-manager:release-v1.34": rpc error: code = NotFound
 desc = failed to pull and unpack image "ghcr.io/stackitcloud/cloud-provider-stackit/cloud-controller-manager:release-v1.3
4": failed to resolve reference "ghcr.io/stackitcloud/cloud-provider-stackit/cloud-controller-manager:release-v1.34": ghcr
.io/stackitcloud/cloud-provider-stackit/cloud-controller-manager:release-v1.34: not found

Actual behavior

Deployment is not starting without applying patches

Expected behavior

Expect the deployment to work like it is in the repository. For releases I would expect to get the matching version.

Environment

  • Kubernetes version: irrelevant
  • Version of the cloud-provider-stackit: main

Additional information

Feel free to add any additional information here.

/kind bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions