How to use NodePort with kind?

Kind cluster configuration needs to be like below apiVersion: kind.x-k8s.io/v1alpha4 kind: Cluster nodes: – role: control-plane extraPortMappings: – containerPort: 30000 hostPort: 30000 listenAddress: “0.0.0.0” # Optional, defaults to “0.0.0.0” protocol: tcp # Optional, defaults to tcp – role: worker This file is then passed to your creation command as kind create cluster –config=config.yaml (according to … Read more

How can I install Docker inside an alpine container?

Dockerfile for running docker-cli inside alpine FROM alpine:3.10 RUN apk add –update docker openrc RUN rc-update add docker boot Build docker image docker build -t docker-alpine . Run container (host and the alipne container will share the same docker engine) docker run -it -v “/var/run/docker.sock:/var/run/docker.sock:rw” docker-alpine:latest /bin/sh

Python in docker – RuntimeError: can’t start new thread

Solution to this problem was to upgrade docker from version 18.06.1-ce to 20.10.7. Why? This is because the default seccomp profile of Docker 20.10.9 is not adjusted to support the clone() syscall wrapper of glibc 2.34 adopted in Ubuntu 21.10 and Fedora 35. Source: ubuntu:21.10 and fedora:35 do not work on the latest Docker (20.10.9)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)