dongjoon-hyun edited a comment on issue #25641: [SPARK-28921][BUILD][K8S][2.4] 
Update kubernetes client to 4.4.2
URL: https://github.com/apache/spark/pull/25641#issuecomment-527262891
 
 
   This PR is tested with `EKS`. Thank you, @andygrove .
   Merged to `branch-2.4`.
   
   ```
   $ 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:0a57b8479a54b371621fee90a84126aa259a13edfc73a28c139046475ab604d1",
               "imageTag": "PR-25641"
           },
           {
               "imageDigest": 
"sha256:5318c3b9a2f1c85bae5d913c799d35a732b0b658f7500dbf733a94b5d8981552",
               "imageTag": "2.4.5-SNAPSHOT"
           },
           {
               "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-25641                  
                                                                                
                                                                                
                                   
   
   $ 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.11-2.4.5-SNAPSHOT.jar
   ```

----------------------------------------------------------------
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