spark-operator icon indicating copy to clipboard operation
spark-operator copied to clipboard

hostaliases doesn't work

Open wanshicheng opened this issue 3 years ago • 4 comments
trafficstars

K8S: 1.21.5 Spark-Operator: spark-operator-chart-1.1.14

config like that: hostAliases:

  • ip: x.x.x.x hostnames: - xxx.xxx.com

I run : kubectl exec -it xx-driver -- cat /etc/hosts

I can't find hosts that I addad.

wanshicheng avatar Dec 16 '21 07:12 wanshicheng

I can confirm this

hansmbakker avatar May 16 '22 08:05 hansmbakker

enable the webhook and pull the latest docker image works fine https://github.com/googlecloudplatform/spark-on-k8s-operator/pkgs/container/spark-operator/23862829?tag=v1beta2-1.3.7-3.1.1

sawyerwu avatar Aug 19 '22 07:08 sawyerwu

enable the webhook and pull the latest docker image works fine https://github.com/googlecloudplatform/spark-on-k8s-operator/pkgs/container/spark-operator/23862829?tag=v1beta2-1.3.7-3.1.1

@sawyerwu can you please tell what do you mean by enabling webhook

mohdmsl avatar Sep 09 '22 07:09 mohdmsl

enable the webhook and pull the latest docker image works fine https://github.com/googlecloudplatform/spark-on-k8s-operator/pkgs/container/spark-operator/23862829?tag=v1beta2-1.3.7-3.1.1

@sawyerwu can you please tell what do you mean by enabling webhook

@mohdmsl install the spark-operator by manifest/spark-operator-with-webhook-install instead of manifest/spark-operator-install

sawyerwu avatar Sep 09 '22 12:09 sawyerwu