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

Known issues for 1.0.0-beta #68

Closed
4 of 5 tasks
deviantony opened this issue Sep 25, 2023 · 6 comments · Fixed by #69, #70 or #72
Closed
4 of 5 tasks

Known issues for 1.0.0-beta #68

deviantony opened this issue Sep 25, 2023 · 6 comments · Fixed by #69, #70 or #72
Milestone

Comments

@deviantony
Copy link
Member

deviantony commented Sep 25, 2023

This is a thread to reference known issues for the 1.0.0-beta release.

@deviantony deviantony pinned this issue Sep 25, 2023
@deviantony
Copy link
Member Author

Unable to list Secret and ConfigMap resources using k9s: derailed/k9s#2238

The following errors are returned.

For secrets:

ERR Watcher failed for v1/secrets -- no kind "SecretList" is registered for version "v1" in scheme "pkg/runtime/scheme.go:100"

For configmaps:

ERR Watcher failed for v1/configmaps -- no kind "ConfigMapList" is registered for version "v1" in scheme "pkg/runtime/scheme.go:100"

@deviantony
Copy link
Member Author

deviantony commented Oct 3, 2023

An error is raised when creating a namespace with Lens/OpenLens.

The following error is displayed:
image

However, refreshing the view shows that the namespace is actually created:
image

@deviantony
Copy link
Member Author

deviantony commented Oct 5, 2023

Creating workloads and resources inside a non existing namespace silently fails.

# kubectl outputs a success deployment
kubectl create deployment nginx --image=nginx:latest -n doesntexist
deployment.apps/nginx created

The following error is raised in k2d logs:

2023-10-05T07:39:58.300Z        ERROR   controller/controller.go:190    unable to create deployment     {"error": "Error response from daemon: network k2d-doesntexist not found"}

On a vanilla k8s, the following error is returned by kubectl:

kubectl create deployment nginx --image=nginx:latest -n doesntexist
error: failed to create deployment: namespaces "doesntexist" not found

@deviantony
Copy link
Member Author

deviantony commented Oct 10, 2023

Applying a manifest that creates a namespace and multiple resources within that namespace will fail with "namespace not found" error:

Using the following nodered.yml manifest:

apiVersion: v1
kind: Namespace
metadata:
  name: node-red
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: node-red
  namespace: node-red
  labels:
    app: node-red
spec:
  selector:
    matchLabels:
      app: node-red
  template:
    metadata:
      labels:
        app: node-red
    spec:
      containers:
      - name: node-red
        image: nodered/node-red:latest
        ports:
        - containerPort: 1880
        securityContext:
          privileged: true
        volumeMounts:
        - name: node-red-data
          mountPath: /data
        env:
        - name: NODE_NAME
          valueFrom:
            fieldRef:
              fieldPath: spec.nodeName
        - name: TZ
          value: America/Los_Angeles
      volumes:
      - name: node-red-data
        persistentVolumeClaim:
          claimName: node-red-claim
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: node-red-claim
  namespace: node-red
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
---
apiVersion: v1
kind: Service
metadata:
  name: node-red
  namespace: node-red
spec:
  selector:
    app: node-red
  type: LoadBalancer
  ports:
    - name: node-red-ui
      port: 1880
      protocol: TCP
      targetPort: 1880

Trying to apply this manifest:

kubectl apply -f nodered.yml
namespace/node-red created
Error from server (NotFound): error when creating "nodered.yml": namespaces "node-red" not found
Error from server (NotFound): error when creating "nodered.yml": namespaces "node-red" not found
Error from server (NotFound): error when creating "nodered.yml": namespaces "node-red" not found

Likely, the deletion of the manifest will fail as well:

kubectl delete -f nodered.yml
namespace/node-red created
Error from server (NotFound): error when creating "nodered.yml": namespaces "node-red" not found
Error from server (NotFound): error when creating "nodered.yml": namespaces "node-red" not found
Error from server (NotFound): error when creating "nodered.yml": namespaces "node-red" not found

This issue has been introduced following the fix for #68 (comment) (via #70)

@deviantony
Copy link
Member Author

deviantony commented Oct 17, 2023

  • After more testing, this seems to happen only on "unusual" Podman setups/configurations such as installing Podman on Ubuntu. The recommendation here is to use Podman on CentOS 8 which works without issue. We recommend this approach unless you know what you are doing when installing Podman on a non standard OS/configuration.

Applying a manifest that contains a service definition when running k2d under Podman fails to create the container with the following error:

ERROR	controller/controller.go:212	unable to update container	{"error": "unable to create container: Error response from daemon: fill out specgen: ulimit option \"RLIMIT_NOFILE=1048576:1048576\" requires name=SOFT:HARD, failed to be parsed: invalid ulimit type: RLIMIT_NOFILE", "request_id": "04b0d175-ce7b-4384-93dc-139f9d1fc132"}

@deviantony
Copy link
Member Author

Closing in favor of #83

@deviantony deviantony added this to the 1.0.0-beta milestone Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment