{"id":8099,"date":"2021-08-17T08:12:57","date_gmt":"2021-08-17T06:12:57","guid":{"rendered":"https:\/\/myoceane.fr\/?p=8099"},"modified":"2021-12-15T07:27:27","modified_gmt":"2021-12-15T06:27:27","slug":"k8s-run-on-demand-spark-cluster","status":"publish","type":"post","link":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/","title":{"rendered":"[K8S] On-Demand Spark Cluster on AKS"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n<p style=\"text-align: justify;\">\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 <a href=\"https:\/\/spark.apache.org\/docs\/latest\/running-on-kubernetes.html\">Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762<\/a> (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f<\/p>\n<pre class=\"lang:bash\">$ .\/bin\/spark-submit \\\n    --master k8s:\/\/https:\/\/&lt;k8s-apiserver-host&gt;:&lt;k8s-apiserver-port&gt; \\\n    --deploy-mode cluster \\\n    --name spark-pi \\\n    --class org.apache.spark.examples.SparkPi \\\n    --conf spark.executor.instances=5 \\\n    --conf spark.kubernetes.container.image=&lt;spark-image&gt; \\\n    local:\/\/\/path\/to\/examples.jar<\/pre>\n<h5>\u00a0<\/h5>\n<h5>\u65b9\u6cd5\u4e00\uff1a\u5229\u7528 K8S \u4e2d\u7684 Deployment \u8207 Services \u81ea\u5efa Spark Cluster<\/h5>\n<p style=\"text-align: justify;\">\u81ea\u5efa Spark Cluster \u7684\u65b9\u6cd5\u53c8\u53ef\u4ee5\u5206\u6210\u5169\u500b\u65b9\u6cd5\uff0c\u5206\u5225\u662f Single-Pod \u8207 Multiple-Pods \u5169\u7a2e\uff0cSingle-Pods \u7684\u90e8\u5206\uff0c&#x1f34b; \u7238\u5617\u8a66\u53bb\u5229\u7528\u4ee5\u4e0b\u7684 Yaml \u8a2d\u5b9a\u6a94\u53bb\u7522\u751f\u4e00\u500bPod \u5305\u542b\u591a\u500b containers\uff0c\u4f46\u662f\u7531\u65bc\u4f7f\u7528\u7684\u662f Azure Standard_D13_v2 \u7684 VM \u6240\u4ee5\u4ee5\u4e0b Pod \u7d22\u8981\u7684\u8cc7\u6e90\u8d85\u904e 8 cpus\uff0c\u56e0\u6b64\u7121\u6cd5\u6210\u529f\u958b\u555f\u3002\u5099\u8a3b\uff1aMicrosoft \u7684\u5de5\u7a0b\u5e2b\u66fe\u7d93\u5be6\u4f5c\u90e8\u7f72\u4e00\u500b Pod \u8de8\u5728\u4e0d\u540c\u7684\u7bc0\u9ede\u4e0a\uff0c\u9019\u908a\u9084\u7121\u6cd5\u91d0\u6e05\u662f\u5426\u80fd\u5920\u5c07\u540c\u4e00\u500b Pod \u7684\u4e0d\u540c container \u90e8\u7f72\u5728\u4e0d\u540c\u7684\u7bc0\u9ede\u4e0a\uff1f<\/p>\n<p style=\"text-align: justify;\">\u5099\u8a3b\uff1a\u5f8c\u4f86\u5f9e<a href=\"https:\/\/docs.microsoft.com\/en-us\/learn\/modules\/configure-azure-kubernetes-service\/4-kubernetes-networking\"> Microsoft \u7684 Documentation<\/a> \u5f97\u77e5\u540c\u4e00\u500b Pod \u96d6\u7136\u662f\u53ef\u4ee5\u6709\u591a\u500b container \u4f46\u662f\u53ea\u80fd\u5920\u5728\u540c\u4e00\u500b node \u4e0a\u9762\u3002<\/p>\n<pre class=\"lang:bash\">apiVersion: v1\nkind: Pod\nmetadata:\n  name: spark-test\nspec:\n  containers:\n    - name: master\n      image: docker.io\/spark:3.0.1\n      ports:\n        - containerPort: 8080\n        - containerPort: 7077\n      resources:\n        limits:\n          cpu: \"3\"\n        requests:\n          cpu: \"3\"\n      imagePullPolicy: IfNotPresent\n      command: [\"\/bin\/sh\", \"-ec\", \"while :; do echo '.'; sleep 5 ; done\"]\n    - name: worker-1\n      image: docker.io\/spark:3.0.1\n        - containerPort: 8081\n      resources:\n        limits:\n          cpu: \"3\"\n        requests:\n          cpu: \"3\"\n      imagePullPolicy: IfNotPresent\n      command: [\"\/bin\/sh\", \"-ec\", \"while :; do echo '.'; sleep 5 ; done\"]\n    - name: worker-2\n      image: docker.io\/spark:3.0.1\n      ports:\n        - containerPort: 8081\n      resources:\n        limits:\n          cpu: \"3\"\n        requests:\n          cpu: \"3\"\n      imagePullPolicy: IfNotPresent\n      command: [\"\/bin\/sh\", \"-ec\", \"while :; do echo '.'; sleep 5 ; done\"]\n  imagePullSecrets:\n    - name: acr-secret<\/pre>\n<p style=\"text-align: justify;\">\u95dc\u65bc Multiple-Pods \u6ab8\u6aac\u7238\u4e3b\u8981\u662f\u53c3\u8003\u9023\u7d50\b\uff0c<a href=\"https:\/\/testdriven.io\/blog\/deploying-spark-on-kubernetes\/\">https:\/\/testdriven.io\/blog\/deploying-spark-on-kubernetes\/<\/a> \u5be6\u4f5c\u4e86\u4e00\u500b\u7531\u4e00\u500b Master \u8207\u591a\u500b Worker \u6240\u7d44\u6210\u7684 Spark Cluster\uff0c\u57fa\u672c\u4e0a\u662f\u4f7f\u7528\u591a\u500b Pods\uff0c\u7136\u5f8c\u518d\u7531 Ingress \u5c07 Spark WebUI \u5c0e\u51fa\u3002<\/p>\n<p><a href=\"https:\/\/kienmn97.medium.com\/deployment-of-standalone-spark-cluster-on-kubernetes-ba15978658bf\">\u5176\u4ed6\u53c3\u8003\u5229\u7528 minikube \u53bb\u505a\u7684\u7bc4\u4f8b<\/a><\/p>\n<p>\u6d41\u7a0b\u7c21\u55ae\u53ef\u4ee5\u5206\u6210\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li>kubectl create -f .\/spark-master-deployment.yaml \u5efa\u7acb Master Node<\/li>\n<li>kubectl create -f .\/spark-master-service.yaml \u5c07 master node \u7684 port \u5efa\u7acb\u6210\u4e00\u500b Service\u00a0<\/li>\n<li>kubectl create -f .\/spark-worker-deployment.yaml \u5efa\u7acb worker node \u4e26\u4e14\u5229\u7528 Service \u53bb\u9023\u7d50 Master Node<\/li>\n<\/ol>\n<p>\u5206\u5225\u5217\u51fa spark-master-deployment.yaml<\/p>\n<pre class=\"lang:bash\">kind: Deployment\napiVersion: apps\/v1\nmetadata:\n  name: spark-master-1\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      component: spark-master\n  template:\n    metadata:\n      labels:\n        component: spark-master\n    spec:\n      containers:\n        - name: spark-master\n          image: docker.io\/spark:3.0.1\n          command: [\"\/bin\/sh\", \"-ec\"]\n          args: [\"\/home\/spark-current\/sbin\/start-master.sh &amp;&amp; while :; do echo '.'; sleep 5 ; done\"]\n          ports:\n            - containerPort: 7077\n            - containerPort: 8080\n          resources:\n            requests:\n              cpu: 100m<\/pre>\n<p>spark-master-service.yaml<\/p>\n<pre class=\"lang:yaml\">kind: Service\napiVersion: v1\nmetadata:\n  name: spark-master\nspec:\n  ports:\n    - name: webui\n      port: 8080\n      targetPort: 8080\n    - name: spark\n      port: 7077\n      targetPort: 7077\n  selector:\n    component: spark-master<\/pre>\n<p>spark-worker-deployment.yaml<\/p>\n<pre class=\"lang:yaml\">kind: Deployment\napiVersion: apps\/v1\nmetadata:\n  name: spark-worker\nspec:\n  replicas: 6\n  selector:\n    matchLabels:\n      component: spark-worker\n  template:\n    metadata:\n      labels:\n        component: spark-worker\n    spec:\n      containers:\n        - name: spark-worker-1\n          image: docker.io\/spark:3.0.1\n          env:\n            - name: MASTER_SPARK_URL\n              value: spark-master\n          command: [\"\/bin\/sh\", \"-c\"]\n          args: [\"\/home\/spark-current\/sbin\/start-slave.sh spark:\/\/spark-master:7077 &amp;&amp; while true; do sleep 3000; done\"]\n          ports:\n            - containerPort: 8081\n          resources:\n            requests:\n              cpu: 100m\n      imagePullSecrets:\n        - name: acr-secret<\/pre>\n<p>\u6700\u5f8c\u5229\u7528 kubectl port-forward spark-master-7f548444d6-vdk9s 8080:8080 \u53ef\u4ee5\u770b\u5230 Spark Master \u7684 WebUI.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"377\" src=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/09\/spark-webUI-1024x377.png\" alt=\"\" class=\"wp-image-8200\" srcset=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/09\/spark-webUI-1024x377.png 1024w, https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/09\/spark-webUI-300x110.png 300w, https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/09\/spark-webUI-768x283.png 768w, https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/09\/spark-webUI-1536x566.png 1536w, https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/09\/spark-webUI.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<p style=\"text-align: justify;\"><strong>\u5099\u8a3b\uff1a<\/strong>\u9019\u908a\u9700\u8981\u7279\u5225\u6ce8\u610f\uff0c\u5728 spark cluster \u5efa\u7f6e\u5b8c\u6210\u4e4b\u5f8c\uff0c\u4e0b\u9054\u57f7\u884c\u5de5\u4f5c\u4e4b\u524d\uff0c\u9700\u8981\u7279\u5225\u6a19\u6ce8\u5169\u500b configurations (spark.driver.bindAddress, spark.driver.host)\uff0c\u5982\u4ee5\u4e0b\u6307\u4ee4\u6240\u793a\uff1a<\/p>\n<pre class=\"lang:bash\">kubectl exec -it spark-master-xxxxxx -- spark-submit \\\n--conf spark.driver.bindAddress=10.244.3.16 \\\n--conf spark.driver.host=10.244.3.16 \\\n--conf spark.dynamicAllocation.enabled=false \\\n--class org.apache.spark.examples.SparkPi \\\n--master spark:\/\/spark-master:7077 \\\n\/opt\/spark\/examples\/jars\/spark-examples_2.12-3.0.2.jar \\\n1000<\/pre>\n<p>\u5426\u5247\u6703\u4e00\u76f4\u51fa\u73fe TaskSchedulerImple \u7684\u932f\u8aa4\u8a0a\u606f\uff1a<\/p>\n<pre class=\"lang:bash\">WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources<\/pre>\n<h5>\u65b9\u6cd5\u4e8c\uff1a\u4f7f\u7528 spark-submit \u4ea4\u4ed8\u5de5\u4f5c\u5230 Kubernetes<\/h5>\n<p style=\"text-align: justify;\">\u56e0\u61c9 k8s \u793e\u7fa4\u88e1\u9762\u60f3\u8981\u4f7f\u7528 Spark \u6280\u8853\u7684\u9700\u6c42\uff0ck8s \u4e5f\u6709\u652f\u63f4\u76f4\u63a5\u5f9e spark-submit \u5c07 spark job \u9001\u5230 k8s \u5e73\u53f0\u7684\u9078\u9805\uff0c\u6709\u8208\u8da3\u7684\u8b80\u8005\u53ef\u4ee5\u53c3\u8003\u4e0b\u9762\u7684 Youtube \u5f71\u7247\u4ecb\u7d39 spark + kubernetes\u3002&#x1f34b; \u7238\u5728\u53c3\u8003\u5b98\u7db2\u4e0a\u7684\u8cc7\u6599\u4e4b\u5f8c(\u4e3b\u8981\u662fAWS\u7684\u670d\u52d9\u7684\u7bc4\u4f8b)\uff0c\u5728\u9019\u908a\u4e3b\u8981\u8a18\u9304\u4e00\u4e9b\u5be6\u4f5c spark-submit + azure kubernetes services \u9047\u5230\u7684\u554f\u984c\u3002<\/p>\n<h6>\u8b80\u8005\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u6210\u529f\u9001\u5230 AKS \u4e0a\u7684\u6307\u4ee4\uff1a<\/h6>\n<pre class=\"lang:bash\">spark-submit --master k8s:\/\/http:\/\/127.0.0.1:8001 \\\n  --deploy-mode cluster \\\n  --name spark-pi \\\n  --class org.apache.spark.examples.SparkPi \\\n  --packages org.apache.hadoop:hadoop-azure:3.3.1,org.apache.hadoop:hadoop-common:3.3.1 \\\n  --conf spark.kubernetes.authenticate.driver.serviceAccountName=spark \\\n  --conf spark.hadoop.fs.azure.account.auth.type=OAuth \\\n  --conf spark.hadoop.fs.azure.account.oauth.provider.type=org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider \\\n  --conf spark.hadoop.fs.azure.account.oauth2.client.id=xxxx\\\n  --conf spark.hadoop.fs.azure.account.oauth2.client.secret=xxxx \\\n  --conf spark.hadoop.fs.azure.account.oauth2.client.endpoint=https:\/\/login.microsoftonline.com\/xxxx\/oauth2\/token \\\n  --conf spark.executor.instances=3 \\\n  --conf spark.kubernetes.file.upload.path=abfss:\/\/test@testaccount.dfs.core.windows.net\/\\\n  --conf spark.kubernetes.container.image=docker.io\/xxxx\/spark:3.0.3 \\\n  --conf spark.driver.extraJavaOptions=\"-Divy.cache.dir=\/tmp -Divy.home=\/tmp\" \\\n  ~\/spark-3.0.3-bin-hadoop3.2\/examples\/jars\/spark-examples_2.12-3.0.3.jar<\/pre>\n<p>Notes\uff1a<\/p>\n<ol>\n<li style=\"text-align: justify;\">\u9996\u5148\u4f7f\u7528 kubectl proxy \u5c07 localhost:8001 \u6307\u5411\u9060\u7aef\u7684 Azure Kubernetes Services\u3002<\/li>\n<li style=\"text-align: justify;\">\u9808\u63d0\u4f9b spark.kubernetes.file.upload.path <a href=\"https:\/\/issues.apache.org\/jira\/browse\/SPARK-31800\">\u5426\u5247\u6703\u5831\u932f<\/a>\uff0c\u7531\u65bc\u6211\u5011\u662f\u4f7f\u7528 AKS\uff0c\u6240\u4ee5\u63d0\u4f9b\u4ee5 abfss:\/\/ \u958b\u982d\u7684\u8def\u5f91\uff0c\u8981\u8dd1 Spark Job \u6240\u9700\u8981\u7528\u5230\u7684 Jar \u6a94\uff0c\u6700\u7d42\u6703\u50b3\u5230\u9019\u500b upload \u7684\u8def\u5f91\u3002<\/li>\n<li style=\"text-align: justify;\">\u52a0\u4e0a &#8211;package \u4e26\u9644\u4e0a hadoop-azure, hadoop-common \u5169\u500b\u51fd\u5f0f\u5eab\u3002<\/li>\n<li>\u914d\u5408\u7b2c\u4e8c\u9ede\u9700\u8981\u52a0\u4e0a auth.type, oauth.provider.type, cliend.id, client.secret, client.endpoint \u7b49\u4e94\u500b\u6191\u64da\u6b0a\u9650\u3002<\/li>\n<li>&#8211;conf \u4e00\u5b9a\u8981\u6709 spark.kubernetes.container.image \u4e26\u4e14\u4e00\u5b9a\u8981\u662f <a href=\"https:\/\/spark.apache.org\/docs\/latest\/running-on-kubernetes.html#docker-images\">spark package \u88e1\u9762 build \u51fa\u4f86\u7684\u6620\u50cf\u6a94<\/a>\u3002<\/li>\n<li><a href=\"https:\/\/github.com\/GoogleCloudPlatform\/spark-on-k8s-operator\/issues\/996\">&#8211;conf \u8981\u52a0 spark.driver.extraJavaOptions=&#8221;-Divy.cache.dir=\/tmp -Divy.home=\/tmp&#8221;<\/a><\/li>\n<\/ol>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Apache Spark on Kubernetes -  Anirudh Ramanathan &amp;  Tim Chen\" width=\"910\" height=\"512\" src=\"https:\/\/www.youtube.com\/embed\/0xRHONrWwvU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><figcaption>Apache Spark on Kubernetes<\/figcaption><\/figure>\n\n\n<h4>Pros and Cons of these two methods:<\/h4>\n<table style=\"border-collapse: collapse; width: 100%; height: 142px;\">\n<tbody>\n<tr style=\"height: 25px;\">\n<td style=\"width: 27.2695%; text-align: center; height: 25px;\">\u00a0<\/td>\n<td style=\"width: 3.79436%; text-align: center;\"><strong>\u00a0<\/strong><\/td>\n<td style=\"width: 35.6029%; text-align: center; height: 25px;\"><strong>Method 1<\/strong><\/td>\n<td style=\"width: 4.00713%; text-align: center;\"><strong>\u00a0<\/strong><\/td>\n<td style=\"width: 29.3263%; text-align: center; height: 25px;\"><strong>Method 2<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 51px;\">\n<td style=\"width: 27.2695%; text-align: center; height: 51px;\"><strong>Preparation of Docker Image\u00a0<\/strong><\/td>\n<td style=\"width: 3.79436%; text-align: center;\">&#x1f44d;&#x1f3fb;<\/td>\n<td style=\"width: 35.6029%; text-align: center; height: 51px;\">\u00a0 Compatible with existing<br \/>docker images<\/td>\n<td style=\"width: 4.00713%; text-align: center;\">&#x1f44e;&#x1f3fb;\u00a0<\/td>\n<td style=\"width: 29.3263%; text-align: center; height: 51px;\">Need to rebuild all docker images based on specific rules<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 27.2695%; text-align: center;\"><strong>\u00a0Control Flexibity<\/strong><\/td>\n<td style=\"width: 3.79436%; text-align: center;\">&#x1f44d;&#x1f3fb;<\/td>\n<td style=\"width: 35.6029%; text-align: center;\">Concept of Worker Node is clear<\/td>\n<td style=\"width: 4.00713%; text-align: center;\">&#x1f44e;&#x1f3fb;\u00a0<\/td>\n<td style=\"width: 29.3263%; text-align: center;\">Concept of Worker Node is not clear<\/td>\n<\/tr>\n<tr style=\"height: 22px;\">\n<td style=\"width: 27.2695%; text-align: center; height: 22px;\"><strong>Complexity of Workflow Management<\/strong><\/td>\n<td style=\"width: 3.79436%; text-align: center;\">&#x1f44e;&#x1f3fb;<\/td>\n<td style=\"width: 35.6029%; text-align: center; height: 22px;\">\u00a0 Creation, Deletion, Monitoring of each Cluster needs to be well managed.<\/td>\n<td style=\"width: 4.00713%; text-align: center;\">&#x1f44d;&#x1f3fb;<\/td>\n<td style=\"width: 29.3263%; text-align: center; height: 22px;\">\u00a0 Easy to manage. Just submit and wait.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f<\/p>\n","protected":false},"author":1,"featured_media":8183,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,14],"tags":[1407,1490,1394,1393,1408],"class_list":["post-8099","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bigdata-ml","category-it-technology","tag-aks","tag-initial-job-has-not-accepted-any-resources-check-your-cluster-ui-to-ensure-that-workers-are-registered-and-have-sufficient-resources","tag-k8s","tag-kubernetes","tag-spark-cluster"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[K8S] On-Demand Spark Cluster on AKS - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane<\/title>\n<meta name=\"description\" content=\"\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[K8S] On-Demand Spark Cluster on AKS - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\" \/>\n<meta property=\"og:site_name\" content=\"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-17T06:12:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-15T06:27:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1120\" \/>\n\t<meta property=\"og:image:height\" content=\"336\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6ab8\u6aac\u7238\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ab8\u6aac\u7238\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\"},\"author\":{\"name\":\"\u6ab8\u6aac\u7238\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"headline\":\"[K8S] On-Demand Spark Cluster on AKS\",\"datePublished\":\"2021-08-17T06:12:57+00:00\",\"dateModified\":\"2021-12-15T06:27:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\"},\"wordCount\":311,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png\",\"keywords\":[\"AKS\",\"Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources\",\"K8S\",\"Kubernetes\",\"Spark Cluster\"],\"articleSection\":[\"Big Data &amp; Machine Learning\",\"IT Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\",\"url\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\",\"name\":\"[K8S] On-Demand Spark Cluster on AKS - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png\",\"datePublished\":\"2021-08-17T06:12:57+00:00\",\"dateModified\":\"2021-12-15T06:27:27+00:00\",\"description\":\"\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f\",\"breadcrumb\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage\",\"url\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png\",\"contentUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png\",\"width\":1120,\"height\":336},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myoceane.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[K8S] On-Demand Spark Cluster on AKS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myoceane.fr\/#website\",\"url\":\"https:\/\/myoceane.fr\/\",\"name\":\"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a\",\"description\":\"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology\",\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myoceane.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\",\"name\":\"\u6ab8\u6aac\u7238\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"caption\":\"\u6ab8\u6aac\u7238\"},\"logo\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[K8S] On-Demand Spark Cluster on AKS - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","description":"\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/","og_locale":"en_US","og_type":"article","og_title":"[K8S] On-Demand Spark Cluster on AKS - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","og_description":"\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f","og_url":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/","og_site_name":"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","article_published_time":"2021-08-17T06:12:57+00:00","article_modified_time":"2021-12-15T06:27:27+00:00","og_image":[{"width":1120,"height":336,"url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png","type":"image\/png"}],"author":"\u6ab8\u6aac\u7238","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6ab8\u6aac\u7238","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#article","isPartOf":{"@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/"},"author":{"name":"\u6ab8\u6aac\u7238","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"headline":"[K8S] On-Demand Spark Cluster on AKS","datePublished":"2021-08-17T06:12:57+00:00","dateModified":"2021-12-15T06:27:27+00:00","mainEntityOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/"},"wordCount":311,"commentCount":1,"publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png","keywords":["AKS","Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources","K8S","Kubernetes","Spark Cluster"],"articleSection":["Big Data &amp; Machine Learning","IT Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/","url":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/","name":"[K8S] On-Demand Spark Cluster on AKS - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","isPartOf":{"@id":"https:\/\/myoceane.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png","datePublished":"2021-08-17T06:12:57+00:00","dateModified":"2021-12-15T06:27:27+00:00","description":"\u6700\u8fd1\u5728\u7814\u7a76\u5982\u4f55\u5728 K8S \u4e0a\u9762\u8dd1\u4e00\u500b On-Demand \u7684 Spark Cluster \u670d\u52d9\uff0c\u57fa\u672c\u4e0a\u6709\u5169\u689d\u8def\u53ef\u4ee5\u8d70\uff0c\u4e00\u689d\u662f\u5229\u7528 k8s \u7684 Deployment \u4f86\u81ea\u5efa Spark Cluster\uff0c\u53e6\u5916\u4e00\u689d\u8def\u5247\u662f\u5229\u7528 Kubernetes \u65e2\u6709\u8207 Spark \u5c0d\u63a5\u7684\u4ecb\u9762 (\u9019\u908a\u662f\u5229\u7528 spark-submit) \u4f86\u5be6\u4f5c\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u76f4\u63a5\u57f7\u884c\u4e00\u500b\u985e\u4f3c\u4e0b\u65b9\u7684\u6307\u4ee4\uff0c\u6240\u4ee5\u60f3\u8981\u64c1\u6709\u4e00\u500b On-Demand Spark Cluster on AKS \u9019\u5169\u7a2e\u65b9\u6cd5\u500b\u6709\u4ec0\u9ebc\u512a\u52a3\uff1f","breadcrumb":{"@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#primaryimage","url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png","contentUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2021\/08\/sparkkubernetes.png","width":1120,"height":336},{"@type":"BreadcrumbList","@id":"https:\/\/myoceane.fr\/index.php\/k8s-run-on-demand-spark-cluster\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myoceane.fr\/"},{"@type":"ListItem","position":2,"name":"[K8S] On-Demand Spark Cluster on AKS"}]},{"@type":"WebSite","@id":"https:\/\/myoceane.fr\/#website","url":"https:\/\/myoceane.fr\/","name":"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a","description":"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology","publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myoceane.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b","name":"\u6ab8\u6aac\u7238","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","caption":"\u6ab8\u6aac\u7238"},"logo":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/"},"url":"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/"}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/8099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/comments?post=8099"}],"version-history":[{"count":49,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/8099\/revisions"}],"predecessor-version":[{"id":8345,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/8099\/revisions\/8345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media\/8183"}],"wp:attachment":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media?parent=8099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/categories?post=8099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/tags?post=8099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}