{"id":23380581,"url":"https://github.com/flix-tech/k8s-spark-cluster-mode-example","last_synced_at":"2025-09-19T11:59:07.659Z","repository":{"id":149086069,"uuid":"218742960","full_name":"flix-tech/k8s-spark-cluster-mode-example","owner":"flix-tech","description":"running spark app on k8s with cluster mode","archived":false,"fork":false,"pushed_at":"2019-11-20T16:45:31.000Z","size":4338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T07:43:18.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flix-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-31T10:42:12.000Z","updated_at":"2019-12-03T16:30:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"25ab7d98-d702-4a5d-8a8b-84a250a0da12","html_url":"https://github.com/flix-tech/k8s-spark-cluster-mode-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fk8s-spark-cluster-mode-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fk8s-spark-cluster-mode-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fk8s-spark-cluster-mode-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fk8s-spark-cluster-mode-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flix-tech","download_url":"https://codeload.github.com/flix-tech/k8s-spark-cluster-mode-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fk8s-spark-cluster-mode-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259123865,"owners_count":22808876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-21T20:16:54.174Z","updated_at":"2025-09-19T11:59:02.631Z","avatar_url":"https://github.com/flix-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spark on Kubernetes - example app \n\nThis is an example project running a Spark app on Kubernetes. It runs a PySpark job on Kubernetes. More information [here](https://spark.apache.org/docs/latest/running-on-kubernetes.html).\n\nThe application base image relies on the spark image built on [here](https://git.flix.tech/data/flux/web-tracking/spark-on-kubernetes-docker-image).\n\n## run app locally\n\nInstall local Kubernetes cluster first. Use [minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/).\n\nInstall `task` build tools [task](https://taskfile.dev/#/installation).\n\nRun locally:\n```shell script\ntask run.local\n```\nUndeploy locally:\n```shell script\nsource ./local.env \u0026\u0026 task spark.undeploy\n```\n![](./k8s-spark.gif)\n\n## deploy on EKS Kubernetes cluster\nEdit `.gitlab-ci.yml` file to adapt it to deploy to your own k8s namespace, please read team plateform documentation for details about gitlab runner and Kubernetes.\n\nCreate a branch will automatically deploy it on ew1d2 cluster, data-flux-dev namespace. Merge branch will deploy code on data-flux-stg and then to ew1p3 data-flux namespace.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflix-tech%2Fk8s-spark-cluster-mode-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflix-tech%2Fk8s-spark-cluster-mode-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflix-tech%2Fk8s-spark-cluster-mode-example/lists"}