dongjoon-hyun commented on issue #25640: [SPARK-28921][BUILD][K8S] Upgrade 
kubernetes client to 4.4.2
URL: https://github.com/apache/spark/pull/25640#issuecomment-527259020
 
 
   This PR is tested with `EKS`.
   ```
   $ kubectl version --short
   Client Version: v1.15.3
   Server Version: v1.13.10-eks-5ac0f1
   ```
   
   ```
   $ aws ecr list-images --repository-name spark
   {
       "imageIds": [
           {
               "imageDigest": 
"sha256:c92d634507aa8336c79cb094ba69083d9cb50f4a6f09259e3b0cb4b6bf1c5214",
               "imageTag": "PR-25640"
           },
           {
               "imageDigest": 
"sha256:a2a48304453c147ec2f049ea0b6c4dbadb625a0c8d76d4c1eb4f7cb3f134890c",
               "imageTag": "latest"
           }
       ]
   }
   ```
   
   ```
   $ echo $K8S_MASTER
   https://9310EC45A37C51BCCF6BC12CDBFCBB61.sk1.us-west-2.eks.amazonaws.com
   
   $ echo $IMAGE
   095589911305.dkr.ecr.us-west-2.amazonaws.com/spark:PR-25640
   ```
   
   ```
   bin/spark-submit \
     --master k8s://$K8S_MASTER \
     --deploy-mode cluster \
     --name spark-pi \
     --class org.apache.spark.examples.SparkPi \
     --conf spark.executor.instances=1 \
     --conf spark.kubernetes.container.image=$IMAGE \
     local:///opt/spark/examples/jars/spark-examples_2.12-3.0.0-SNAPSHOT.jar
   ```
   
   Thank you, @andygrove , @srowen , @felixcheung .
   
   Merged to `master`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to