

This field is purely informational and does not carry any configuration to be made. If you mean that you've included the - containerPort: 8080. I even tried exposing port 7077 in YAML file. It will work and won't produce the error mentioned ( socat).
#Portforward install
Try to exec into it and run $ apt update & apt install -y nginx and try to curl again (with kubectl port-forward configured). It will fail as nothing listens on its port. You can simulate it by running an Ubuntu Pod where you try to curl its port 80. This would also work on a Pod that application haven't bound to the port and/or is not listening.

SelfLink: /apis/apps/v1beta1/namespaces/default/statefulsets/m3-zeppelin This is the YAML file used for deployment. I already tried installing socat on the kubernetes. from pyspark import SparkContext, SparkConfĬonf = SparkConf().setMaster("spark://localhost:7077").setAppName("Stand Alone Python Script")

I am getting error in the lines where conf is defined. I am getting this error while executing my python file. I am trying to port forward to my local machine. I am running pyspark on one of the ports of kubernetes.
