Home Explore Blog CI



kubernetes

2nd chunk of `content/en/blog/_posts/2018-03-00-Apache-Spark-23-With-Native-Kubernetes.md`
50b050729955e4e19e98b5fb4efd4e03d577ff3afdcb2a1c00000001000002a5
![](https://1.bp.blogspot.com/-hl4pnOqiH4M/Wp4w9QmzghI/AAAAAAAAAL4/jcWoDOKEp3Y6lCzGxzTOlbvl2Mq1-2YeQCK4BGAYYCw/s1600/Screen%2BShot%2B2018-03-05%2Bat%2B10.10.14%2BPM.png)

To try this yourself on a Kubernetes cluster, simply download the binaries for the official [Apache Spark 2.3 release][13]. For example, below, we describe running a simple Spark application to compute the mathematical constant Pi across three Spark executors, each running in a separate pod. Please note that this requires a cluster running Kubernetes 1.7 or above, a [kubectl][14] client that is configured to access it, and the necessary [RBAC rules][9] for the default namespace and service account.  

Title: Trying Spark on Kubernetes
Summary
This section provides instructions on how to run Apache Spark 2.3 with native Kubernetes support on a Kubernetes cluster. It involves downloading the binaries for the Apache Spark 2.3 release and provides an example of running a simple Spark application to compute Pi. The instructions require a Kubernetes 1.7+ cluster, a configured kubectl client, and appropriate RBAC rules.