Cannot create PersistentVolume in Kubernetes

I’m trying to create a new PersistentVolume in Kubernets (version 1.14), but it returns me the following error: The PersistentVolume “postgres-pv-volume” is invalid: * spec.persistentvolumesource: Forbidden: is immutable after creation * nodeAffinity: Invalid value: “null”: field is immutable Here’s my YAML: apiVersion: v1 kind: PersistentVolume metadata: name: postgres-pv-volume namespace: is-app spec: capacity: storage: 5Gi accessModes:…

docker-in-docker: `Cannot connect to the Docker daemon at tcp://docker:2375`

I am trying to manually use the docker:19.03.5-dind image as shown by the “How to use this image” section. First I am running the daemon $ docker run –privileged -d –rm –name=docker-daemon \ –network=test docker:19.03.5-dind e1f8544d30df5bc010d67e38b38be0f47306b29ab0fdeb32861c5716582c9917 I see that it is up and listens on port 2376 $ docker logs docker-daemon … time=”2019-11-28T11:31:40.266976728Z” level=info msg=”Daemon…

Why IPv6 interface send dhcp v4 request first when restart network.service?

In centos7, my IPv6 interface eth0 configuration is [[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes BOOTPROTO=dhcp IPV6INIT=yes DHCPV6C=yes When i restart network(systemctl restart network.service) Why will network will send DHCP V4 request first? when dhcp v4 request no response, dhcp v6 requset will be sent. The log is Nov 28 18:38:59 localhost dbus[517]: [system] Activating…