CINXE.COM
[SPARK-49754] Support HPA for `SparkCluster` by dongjoon-hyun · Pull Request #135 · apache/spark-kubernetes-operator · GitHub
<!DOCTYPE html> <html lang="en" class="skip-scroll-target-into-view js-skip-scroll-target-into-view" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system" data-a11y-link-underlines="true" > <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> <link rel="preconnect" href="https://github.githubassets.com" crossorigin> <link rel="preconnect" href="https://avatars.githubusercontent.com"> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-3e154969b9f9.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-9c5b7a476542.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-afda8eb0fb33.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-2494e44ccdc5.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-56fff47acadc.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-71cd4cc132ec.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-fd5499848985.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-31d17ba3e139.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-68d6b2c79663.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-primitives-4cf0d59ab51a.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-af846850481e.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-8b10f05a77e6.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-2f6e722088eb.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-9c77ed90200e.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-a0610fd00b47.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/pull-requests-531a3fdee92a.css" /> <script type="application/json" id="client-env">{"locale":"en","featureFlags":["copilot_new_references_ui","copilot_beta_features_opt_in","copilot_chat_static_thread_suggestions","copilot_conversational_ux_history_refs","copilot_implicit_context","copilot_smell_icebreaker_ux","experimentation_azure_variant_endpoint","failbot_handle_non_errors","geojson_azure_maps","ghost_pilot_confidence_truncation_25","ghost_pilot_confidence_truncation_40","hovercard_accessibility","issues_react_new_timeline","issues_react_avatar_refactor","issues_react_remove_placeholders","issues_react_blur_item_picker_on_close","marketing_pages_search_explore_provider","react_keyboard_shortcuts_dialog","remove_child_patch","sample_network_conn_type","site_metered_billing_update","lifecycle_label_name_updates"]}</script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/wp-runtime-f6d07bcb537a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_dompurify_dist_purify_js-b73fdff77a4e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover_js-aff936e590ed.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_arianotify-polyfill_ariaNotify-polyfill_js-node_modules_github_mi-247092-740e4ddd559d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_failbot_failbot_ts-93b6a0551aa9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/environment-cd35650c2e9c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_primer_behaviors_dist_esm_index_mjs-4aa4b0e95669.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-f690fd9ae3d5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_relative-time-element_dist_index_js-6d3967acd51c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_combobox-nav_dist_index_js-node_modules_github_g-emoji-element_di-6ce195-53781cbc550f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-6afc16-3cdfa69a0406.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_text-expander-element_dist_index_js-f5498b8d4e5d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7-492b5042c841.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1f651a-1e3d784c897c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_primer_view-co-7671f1-dc6cac136d88.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/github-elements-71486356f507.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/element-registry-e3ab8405ef80.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-bb80ec-634de60bacfa.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_lit-html_lit-html_js-ce7225a304c5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1-e6893db9c19e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c-f8a5485c982a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-858e043fcf76.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f-6cf3320416b8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_scroll-anchoring_dist_scroll-anchoring_esm_js-node_modules_stacktrace-pa-a71630-6f3c4f0189d8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_color-convert_index_js-0e07cc183eed.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-0b5e12-889cec8cf448.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_updatable-content_updatable-content_ts-eae9df0dd562.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde-18d1c91a7872.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_sticky-scroll-into-view_ts-7cbef09a422c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6-0e9fa537dc4f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-c89801ebbe15.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-a6e4c4c86bfa.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-f6223d90c7ba.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-global-3366f6b6298e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js-96453a51f920.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_stacktrace-parser_dist_stack-trace-parser_esm_js-node_modules_github_bro-b0a862-4d8589138d1e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-0e9dbe-d2bcedf65682.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_ref-selector_ts-043af64042a1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/codespaces-4158520ad4d7.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-core-cd0a67881543.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-7b7b5264f6c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_tanstack_query-core_build_modern_queryClient_js-e40bb86d3e93.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_tanstack_query-core_build_modern_queryObserver_js-node_modules_tanstack_-defd52-585c05e837f3.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_primer_live-region-element-32d343-56ceead9587a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_decorators_js-node_modules_delegated-events_di-cc9bcb-ea42a360c5ae.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_diffs_blob-lines_ts-app_assets_modules_github_diffs_linkable-line-n-b8c0ea-77a5219efe36.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/diffs-26b30052e1d0.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/scanning-36c6f3eaa22e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_catalyst_lib_inde-dbbea9-9b97703a4e6a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/code-menu-13971a40799a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-765944243383.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-core-cd0a67881543.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-7b7b5264f6c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-45c3a19dd792.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_tanstack_query-core_build_modern_queryClient_js-e40bb86d3e93.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-37e3d5-31653d7f2342.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-e7dcdd-285fc29e9fa5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-4896ddd4b7bb.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-subscriptions-menu-3eda30673b32.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.9fa170e9435ed4b922b9.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/notifications-subscriptions-menu.1bcff9205c241e99cff2.module.css" /> <title>[SPARK-49754] Support HPA for `SparkCluster` by dongjoon-hyun · Pull Request #135 · apache/spark-kubernetes-operator · GitHub</title> <meta name="route-pattern" content="/:user_id/:repository/pull/:id/files(.:format)" data-turbo-transient> <meta name="route-controller" content="pull_requests" data-turbo-transient> <meta name="route-action" content="files" data-turbo-transient> <meta name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"> <meta name="request-id" content="9E6C:136530:883301:9E321F:674E543D" data-pjax-transient="true"/><meta name="html-safe-nonce" content="abe86d92806c5cf98cf9917cddf0b38fcf42833c743bb3b058f5dca75645ec70" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTZDOjEzNjUzMDo4ODMzMDE6OUUzMjFGOjY3NEU1NDNEIiwidmlzaXRvcl9pZCI6IjkwNzM5OTcyMzM1NjE0MjQ5NTciLCJyZWdpb25fZWRnZSI6InNvdXRoZWFzdGFzaWEiLCJyZWdpb25fcmVuZGVyIjoic291dGhlYXN0YXNpYSJ9" data-pjax-transient="true"/><meta name="visitor-hmac" content="cf056d7d43bf542bfd04784dd5ac49345d599daa882304f89bb90b4d2f324029" data-pjax-transient="true"/> <meta name="hovercard-subject-tag" content="pull_request:2085828188" data-turbo-transient> <meta name="github-keyboard-shortcuts" content="repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot" data-turbo-transient="true" /> <meta name="selected-link" value="repo_pulls" data-turbo-transient> <link rel="assets" href="https://github.githubassets.com/"> <meta name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"> <meta name="octolytics-url" content="https://collector.github.com/github/collect" /> <meta name="analytics-location" content="/<user-name>/<repo-name>/pull_requests/show/files" data-turbo-transient="true" /> <meta name="user-login" content=""> <meta name="viewport" content="width=device-width"> <meta name="description" content="What changes were proposed in this pull request? This PR aims to support K8s Horizontal Pod Autoscaler for SparkCluster. Why are the changes needed? To allow users more flexible installation on top of static SparkClusters. Does this PR introduce any user-facing change? No. This is a new feature and HPA is not created if the minimum number of workers is equal to the maximum number of workers. How was this patch tested? Pass the CIs. And, manually create an example cluster and wait until it scales down to the minimum number of workers. $ gradle build buildDockerImage spark-operator-api:relocateGeneratedCRD $ kubectl apply -f examples/cluster-with-hpa.yaml Conditions: │ │ Type Status Reason Message │ │ ---- ------ ------ ------- │ │ AbleToScale True ReadyForNewScale recommended size matches current size │ │ ScalingActive True ValidMetricFound the HPA was able to successfully calculate a replica count from cpu resource utilization (percentage of request) │ │ ScalingLimited True TooFewReplicas the desired replica count is less than the minimum replica count │ │ Events: │ │ Type Reason Age From Message │ │ ---- ------ ---- ---- ------- │ │ Normal SuccessfulRescale 2m31s horizontal-pod-autoscaler New size: 2; reason: All metrics below target │ │ Normal SuccessfulRescale 91s horizontal-pod-autoscaler New size: 1; reason: All metrics below target Was this patch authored or co-authored using generative AI tooling? No."> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub"> <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub"> <meta property="fb:app_id" content="1401488693436528"> <meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/apache/spark-kubernetes-operator/pull/135/files" /> <meta name="twitter:image" content="https://avatars.githubusercontent.com/u/9700541?s=400&v=4" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="[SPARK-49754] Support HPA for `SparkCluster` by dongjoon-hyun · Pull Request #135 · apache/spark-kubernetes-operator" /><meta name="twitter:description" content="What changes were proposed in this pull request? This PR aims to support K8s Horizontal Pod Autoscaler for SparkCluster. Why are the changes needed? To allow users more flexible installation on top..." /> <meta property="og:image" content="https://avatars.githubusercontent.com/u/9700541?s=400&v=4" /><meta property="og:image:alt" content="What changes were proposed in this pull request? This PR aims to support K8s Horizontal Pod Autoscaler for SparkCluster. Why are the changes needed? To allow users more flexible installation on top..." /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="[SPARK-49754] Support HPA for `SparkCluster` by dongjoon-hyun · Pull Request #135 · apache/spark-kubernetes-operator" /><meta property="og:url" content="https://github.com/apache/spark-kubernetes-operator/pull/135" /><meta property="og:description" content="What changes were proposed in this pull request? This PR aims to support K8s Horizontal Pod Autoscaler for SparkCluster. Why are the changes needed? To allow users more flexible installation on top..." /> <meta name="hostname" content="github.com"> <meta name="expected-hostname" content="github.com"> <meta http-equiv="x-pjax-version" content="aa37bb8c371e09cb38dd347be388b7112bdd59eee125b1a954e275699ce11d6b" data-turbo-track="reload"> <meta http-equiv="x-pjax-csp-version" content="ace39c3b6632770952207593607e6e0be0db363435a8b877b1f96abe6430f345" data-turbo-track="reload"> <meta http-equiv="x-pjax-css-version" content="3adbaefc258174e49a9472f62ba4ed262e7c0112f9e7266a3e927bd7b898716f" data-turbo-track="reload"> <meta http-equiv="x-pjax-js-version" content="529ce20a8ef6cad09d255e6cab27d6ca9196b20120c9b5455f6015a732ceb47c" data-turbo-track="reload"> <meta name="turbo-cache-control" content="no-preview" data-turbo-transient=""> <link data-turbo-transient rel="alternate" type="text/x-diff" href="/apache/spark-kubernetes-operator/pull/135.diff"> <link data-turbo-transient rel="alternate" type="text/x-patch" href="/apache/spark-kubernetes-operator/pull/135.patch"> <meta name="diff-view" content="unified" data-turbo-transient> <meta name="go-import" content="github.com/apache/spark-kubernetes-operator git https://github.com/apache/spark-kubernetes-operator.git"> <meta name="octolytics-dimension-user_id" content="47359" /><meta name="octolytics-dimension-user_login" content="apache" /><meta name="octolytics-dimension-repository_id" content="779091052" /><meta name="octolytics-dimension-repository_nwo" content="apache/spark-kubernetes-operator" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="false" /><meta name="octolytics-dimension-repository_network_root_id" content="779091052" /><meta name="octolytics-dimension-repository_network_root_nwo" content="apache/spark-kubernetes-operator" /> <meta name="turbo-body-classes" content="logged-out env-production page-responsive full-width"> <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats"> <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors"> <link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000"> <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://github.githubassets.com/favicons/favicon.png"> <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg" data-base-href="https://github.githubassets.com/favicons/favicon"> <meta name="theme-color" content="#1e2327"> <meta name="color-scheme" content="light dark" /> <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials"> </head> <body class="logged-out env-production page-responsive full-width" style="word-wrap: break-word;"> <div data-turbo-body class="logged-out env-production page-responsive full-width" style="word-wrap: break-word;"> <div class="position-relative header-wrapper js-header-wrapper "> <a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a> <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full"> <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span> </span> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-765944243383.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-45c3a19dd792.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-37e3d5-31653d7f2342.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-e7dcdd-285fc29e9fa5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-4896ddd4b7bb.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-f3cc184507a7.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.9fa170e9435ed4b922b9.module.css" /> <react-partial partial-name="keyboard-shortcuts-dialog" data-ssr="false" data-attempted-ssr="false" > <script type="application/json" data-target="react-partial.embeddedData">{"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}</script> <div data-target="react-partial.reactRoot"></div> </react-partial> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-cf3dd69d89eb.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/sessions-8fa3b694f335.js"></script> <header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark> <h2 class="sr-only">Navigation Menu</h2> <button type="button" class="HeaderMktg-backdrop d-lg-none border-0 position-fixed top-0 left-0 width-full height-full js-details-target" aria-label="Toggle navigation"> <span class="d-none">Toggle navigation</span> </button> <div class="d-flex flex-column flex-lg-row flex-items-center px-3 px-md-4 px-lg-5 height-full position-relative z-1"> <div class="d-flex flex-justify-between flex-items-center width-full width-lg-auto"> <div class="flex-1"> <button aria-label="Toggle navigation" aria-expanded="false" type="button" data-view-component="true" class="js-details-target js-nav-padding-recalculate js-header-menu-toggle Button--link Button--medium Button d-lg-none color-fg-inherit p-1"> <span class="Button-content"> <span class="Button-label"><div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div></span> </span> </button> </div> <a class="mr-lg-3 color-fg-inherit flex-order-2 js-prevent-focus-on-mobile-nav" href="/" aria-label="Homepage" data-analytics-event="{"category":"Marketing nav","action":"click to go to homepage","label":"ref_page:Marketing;ref_cta:Logomark;ref_loc:Header"}"> <svg height="32" aria-hidden="true" viewBox="0 0 24 24" version="1.1" width="32" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path> </svg> </a> <div class="flex-1 flex-order-2 text-right"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fspark-kubernetes-operator%2Fpull%2F135%2Ffiles" class="HeaderMenu-link HeaderMenu-button d-inline-flex d-lg-none flex-order-1 f5 no-underline border color-border-default rounded-2 px-2 py-1 color-fg-inherit js-prevent-focus-on-mobile-nav" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="caa05b3ce4053b75366ac136faa56ea1f84ff04e631e1e5f85423b85a8600cb5" data-analytics-event="{"category":"Marketing nav","action":"click to Sign in","label":"ref_page:Marketing;ref_cta:Sign in;ref_loc:Header"}" > Sign in </a> </div> </div> <div class="HeaderMenu js-header-menu height-fit position-lg-relative d-lg-flex flex-column flex-auto top-0"> <div class="HeaderMenu-wrapper d-flex flex-column flex-self-start flex-lg-row flex-auto rounded rounded-lg-0"> <nav class="HeaderMenu-nav" aria-label="Global"> <ul class="d-lg-flex list-style-none"> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Product <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_copilot","context":"product","tag":"link","label":"github_copilot_link_product_navbar"}" href="https://github.com/features/copilot"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Copilot</div> Write better code with AI </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"security","context":"product","tag":"link","label":"security_link_product_navbar"}" href="https://github.com/features/security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">Security</div> Find and fix vulnerabilities </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"actions","context":"product","tag":"link","label":"actions_link_product_navbar"}" href="https://github.com/features/actions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-workflow color-fg-subtle mr-3"> <path d="M1 3a2 2 0 0 1 2-2h6.5a2 2 0 0 1 2 2v6.5a2 2 0 0 1-2 2H7v4.063C7 16.355 7.644 17 8.438 17H12.5v-2.5a2 2 0 0 1 2-2H21a2 2 0 0 1 2 2V21a2 2 0 0 1-2 2h-6.5a2 2 0 0 1-2-2v-2.5H8.437A2.939 2.939 0 0 1 5.5 15.562V11.5H3a2 2 0 0 1-2-2Zm2-.5a.5.5 0 0 0-.5.5v6.5a.5.5 0 0 0 .5.5h6.5a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5ZM14.5 14a.5.5 0 0 0-.5.5V21a.5.5 0 0 0 .5.5H21a.5.5 0 0 0 .5-.5v-6.5a.5.5 0 0 0-.5-.5Z"></path> </svg> <div> <div class="color-fg-default h4">Actions</div> Automate any workflow </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"codespaces","context":"product","tag":"link","label":"codespaces_link_product_navbar"}" href="https://github.com/features/codespaces"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-codespaces color-fg-subtle mr-3"> <path d="M3.5 3.75C3.5 2.784 4.284 2 5.25 2h13.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 18.75 13H5.25a1.75 1.75 0 0 1-1.75-1.75Zm-2 12c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v4a1.75 1.75 0 0 1-1.75 1.75H3.25a1.75 1.75 0 0 1-1.75-1.75ZM5.25 3.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h13.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Zm-2 12a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h17.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25Z"></path><path d="M10 17.75a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> <div> <div class="color-fg-default h4">Codespaces</div> Instant dev environments </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"issues","context":"product","tag":"link","label":"issues_link_product_navbar"}" href="https://github.com/features/issues"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-issue-opened color-fg-subtle mr-3"> <path d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Zm9.5 2a2 2 0 1 1-.001-3.999A2 2 0 0 1 12 14Z"></path> </svg> <div> <div class="color-fg-default h4">Issues</div> Plan and track work </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"code_review","context":"product","tag":"link","label":"code_review_link_product_navbar"}" href="https://github.com/features/code-review"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-review color-fg-subtle mr-3"> <path d="M10.3 6.74a.75.75 0 0 1-.04 1.06l-2.908 2.7 2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M1.5 4.25c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v12.5a1.75 1.75 0 0 1-1.75 1.75h-9.69l-3.573 3.573A1.458 1.458 0 0 1 5 21.043V18.5H3.25a1.75 1.75 0 0 1-1.75-1.75ZM3.25 4a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 .75.75v3.19l3.72-3.72a.749.749 0 0 1 .53-.22h10a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Review</div> Manage code changes </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"discussions","context":"product","tag":"link","label":"discussions_link_product_navbar"}" href="https://github.com/features/discussions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Discussions</div> Collaborate outside of code </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"code_search","context":"product","tag":"link","label":"code_search_link_product_navbar"}" href="https://github.com/features/code-search"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-square color-fg-subtle mr-3"> <path d="M10.3 8.24a.75.75 0 0 1-.04 1.06L7.352 12l2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25Zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Search</div> Find more, search less </div> </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="product-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="product-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"all_features","context":"product","tag":"link","label":"all_features_link_product_navbar"}" href="https://github.com/features"> All features </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"documentation","context":"product","tag":"link","label":"documentation_link_product_navbar"}" href="https://docs.github.com"> Documentation <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"github_skills","context":"product","tag":"link","label":"github_skills_link_product_navbar"}" href="https://skills.github.com"> GitHub Skills <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"blog","context":"product","tag":"link","label":"blog_link_product_navbar"}" href="https://github.blog"> Blog <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Solutions <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 pb-lg-3 mb-3 mb-lg-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-company-size-heading">By company size</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-company-size-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"enterprises","context":"solutions","tag":"link","label":"enterprises_link_solutions_navbar"}" href="https://github.com/enterprise"> Enterprises </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"small_and_medium_teams","context":"solutions","tag":"link","label":"small_and_medium_teams_link_solutions_navbar"}" href="https://github.com/team"> Small and medium teams </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"startups","context":"solutions","tag":"link","label":"startups_link_solutions_navbar"}" href="https://github.com/enterprise/startups"> Startups </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-use-case-heading">By use case</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-use-case-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devsecops","context":"solutions","tag":"link","label":"devsecops_link_solutions_navbar"}" href="/solutions/use-case/devsecops"> DevSecOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devops","context":"solutions","tag":"link","label":"devops_link_solutions_navbar"}" href="/solutions/use-case/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ci_cd","context":"solutions","tag":"link","label":"ci_cd_link_solutions_navbar"}" href="/solutions/use-case/ci-cd"> CI/CD </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all_use_cases","context":"solutions","tag":"link","label":"view_all_use_cases_link_solutions_navbar"}" href="/solutions/use-case"> View all use cases </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-industry-heading">By industry</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-industry-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"healthcare","context":"solutions","tag":"link","label":"healthcare_link_solutions_navbar"}" href="/solutions/industry/healthcare"> Healthcare </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"financial_services","context":"solutions","tag":"link","label":"financial_services_link_solutions_navbar"}" href="/solutions/industry/financial-services"> Financial services </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"manufacturing","context":"solutions","tag":"link","label":"manufacturing_link_solutions_navbar"}" href="/solutions/industry/manufacturing"> Manufacturing </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"government","context":"solutions","tag":"link","label":"government_link_solutions_navbar"}" href="/solutions/industry/government"> Government </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all_industries","context":"solutions","tag":"link","label":"view_all_industries_link_solutions_navbar"}" href="/solutions/industry"> View all industries </a></li> </ul> </div> </div> <div class="HeaderMenu-trailing-link rounded-bottom-2 flex-shrink-0 mt-lg-4 px-lg-4 py-4 py-lg-3 f5 text-semibold"> <a href="/solutions"> View all solutions <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right HeaderMenu-trailing-link-icon"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </a> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Resources <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-topics-heading">Topics</span> <ul class="list-style-none f5" aria-labelledby="resources-topics-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ai","context":"resources","tag":"link","label":"ai_link_resources_navbar"}" href="/resources/articles/ai"> AI </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devops","context":"resources","tag":"link","label":"devops_link_resources_navbar"}" href="/resources/articles/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"security","context":"resources","tag":"link","label":"security_link_resources_navbar"}" href="/resources/articles/security"> Security </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"software_development","context":"resources","tag":"link","label":"software_development_link_resources_navbar"}" href="/resources/articles/software-development"> Software Development </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all","context":"resources","tag":"link","label":"view_all_link_resources_navbar"}" href="/resources/articles"> View all </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="resources-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"learning_pathways","context":"resources","tag":"link","label":"learning_pathways_link_resources_navbar"}" href="https://resources.github.com/learn/pathways"> Learning Pathways <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"white_papers_ebooks_webinars","context":"resources","tag":"link","label":"white_papers_ebooks_webinars_link_resources_navbar"}" href="https://resources.github.com"> White papers, Ebooks, Webinars <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"customer_stories","context":"resources","tag":"link","label":"customer_stories_link_resources_navbar"}" href="https://github.com/customer-stories"> Customer Stories </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"partners","context":"resources","tag":"link","label":"partners_link_resources_navbar"}" href="https://partner.github.com"> Partners <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Open Source <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"github_sponsors","context":"open_source","tag":"link","label":"github_sponsors_link_open_source_navbar"}" href="/sponsors"> <div> <div class="color-fg-default h4">GitHub Sponsors</div> Fund open source developers </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"the_readme_project","context":"open_source","tag":"link","label":"the_readme_project_link_open_source_navbar"}" href="https://github.com/readme"> <div> <div class="color-fg-default h4">The ReadME Project</div> GitHub community articles </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="open-source-repositories-heading">Repositories</span> <ul class="list-style-none f5" aria-labelledby="open-source-repositories-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"topics","context":"open_source","tag":"link","label":"topics_link_open_source_navbar"}" href="https://github.com/topics"> Topics </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"trending","context":"open_source","tag":"link","label":"trending_link_open_source_navbar"}" href="https://github.com/trending"> Trending </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"collections","context":"open_source","tag":"link","label":"collections_link_open_source_navbar"}" href="https://github.com/collections"> Collections </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Enterprise <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"enterprise_platform","context":"enterprise","tag":"link","label":"enterprise_platform_link_enterprise_navbar"}" href="/enterprise"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-stack color-fg-subtle mr-3"> <path d="M11.063 1.456a1.749 1.749 0 0 1 1.874 0l8.383 5.316a1.751 1.751 0 0 1 0 2.956l-8.383 5.316a1.749 1.749 0 0 1-1.874 0L2.68 9.728a1.751 1.751 0 0 1 0-2.956Zm1.071 1.267a.25.25 0 0 0-.268 0L3.483 8.039a.25.25 0 0 0 0 .422l8.383 5.316a.25.25 0 0 0 .268 0l8.383-5.316a.25.25 0 0 0 0-.422Z"></path><path d="M1.867 12.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path><path d="M1.867 16.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path> </svg> <div> <div class="color-fg-default h4">Enterprise platform</div> AI-powered developer platform </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="enterprise-available-add-ons-heading">Available add-ons</span> <ul class="list-style-none f5" aria-labelledby="enterprise-available-add-ons-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"advanced_security","context":"enterprise","tag":"link","label":"advanced_security_link_enterprise_navbar"}" href="https://github.com/enterprise/advanced-security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">Advanced Security</div> Enterprise-grade security features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_copilot","context":"enterprise","tag":"link","label":"github_copilot_link_enterprise_navbar"}" href="/features/copilot#enterprise"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Copilot</div> Enterprise-grade AI features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"premium_support","context":"enterprise","tag":"link","label":"premium_support_link_enterprise_navbar"}" href="/premium-support"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Premium Support</div> Enterprise-grade 24/7 support </div> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <a class="HeaderMenu-link no-underline px-0 px-lg-2 py-3 py-lg-2 d-block d-lg-inline-block" data-analytics-event="{"location":"navbar","action":"pricing","context":"global","tag":"link","label":"pricing_link_global_navbar"}" href="https://github.com/pricing">Pricing</a> </li> </ul> </nav> <div class="d-flex flex-column flex-lg-row width-full flex-justify-end flex-lg-items-center text-center mt-3 mt-lg-0 text-lg-left ml-lg-3"> <qbsearch-input class="search-input" data-scope="repo:apache/spark-kubernetes-operator" data-custom-scopes-path="/search/custom_scopes" data-delete-custom-scopes-csrf="G9Xv32bUHSzXSbDptsPR9eyAoRBsFyjR7ygnmcji6FYUYNWanybKmKRRoCOsJ8P3cGyI8G2LeCUBfjKqMsGgxQ" data-max-custom-scopes="10" data-header-redesign-enabled="false" data-initial-value="" data-blackbird-suggestions-path="/search/suggestions" data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations" data-current-repository="apache/spark-kubernetes-operator" data-current-org="apache" data-current-owner="" data-logged-in="false" data-copilot-chat-enabled="false" data-nl-search-enabled="false" data-retain-scroll-position="true"> <div class="search-input-container search-with-dialog position-relative d-flex flex-row flex-items-center mr-4 rounded" data-action="click:qbsearch-input#searchInputContainerClicked" > <button type="button" class="header-search-button placeholder input-button form-control d-flex flex-1 flex-self-stretch flex-items-center no-wrap width-full py-0 pl-2 pr-0 text-left border-0 box-shadow-none" data-target="qbsearch-input.inputButton" aria-label="Search or jump to…" aria-haspopup="dialog" placeholder="Search or jump to..." data-hotkey=s,/ autocapitalize="off" data-analytics-event="{"location":"navbar","action":"searchbar","context":"global","tag":"input","label":"searchbar_input_global_navbar"}" data-action="click:qbsearch-input#handleExpand" > <div class="mr-2 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </div> <span class="flex-1" data-target="qbsearch-input.inputButtonText">Search or jump to...</span> <div class="d-flex" data-target="qbsearch-input.hotkeyIndicator"> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" aria-hidden="true" class="mr-1"><path fill="none" stroke="#979A9C" opacity=".4" d="M3.5.5h12c1.7 0 3 1.3 3 3v13c0 1.7-1.3 3-3 3h-12c-1.7 0-3-1.3-3-3v-13c0-1.7 1.3-3 3-3z"></path><path fill="#979A9C" d="M11.8 6L8 15.1h-.9L10.8 6h1z"></path></svg> </div> </button> <input type="hidden" name="type" class="js-site-search-type-field"> <div class="Overlay--hidden " data-modal-dialog-overlay> <modal-dialog data-action="close:qbsearch-input#handleClose cancel:qbsearch-input#handleClose" data-target="qbsearch-input.searchSuggestionsDialog" role="dialog" id="search-suggestions-dialog" aria-modal="true" aria-labelledby="search-suggestions-dialog-header" data-view-component="true" class="Overlay Overlay--width-large Overlay--height-auto"> <h1 id="search-suggestions-dialog-header" class="sr-only">Search code, repositories, users, issues, pull requests...</h1> <div class="Overlay-body Overlay-body--paddingNone"> <div data-view-component="true"> <div class="search-suggestions position-fixed width-full color-shadow-large border color-fg-default color-bg-default overflow-hidden d-flex flex-column query-builder-container" style="border-radius: 12px;" data-target="qbsearch-input.queryBuilderContainer" hidden > <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="query-builder-test-form" action="" accept-charset="UTF-8" method="get"> <query-builder data-target="qbsearch-input.queryBuilder" id="query-builder-query-builder-test" data-filter-key=":" data-view-component="true" class="QueryBuilder search-query-builder"> <div class="FormControl FormControl--fullWidth"> <label id="query-builder-test-label" for="query-builder-test" class="FormControl-label sr-only"> Search </label> <div class="QueryBuilder-StyledInput width-fit " data-target="query-builder.styledInput" > <span id="query-builder-test-leadingvisual-wrap" class="FormControl-input-leadingVisualWrap QueryBuilder-leadingVisualWrap"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search FormControl-input-leadingVisual"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </span> <div data-target="query-builder.styledInputContainer" class="QueryBuilder-StyledInputContainer"> <div aria-hidden="true" class="QueryBuilder-StyledInputContent" data-target="query-builder.styledInputContent" ></div> <div class="QueryBuilder-InputWrapper"> <div aria-hidden="true" class="QueryBuilder-Sizer" data-target="query-builder.sizer"></div> <input id="query-builder-test" name="query-builder-test" value="" autocomplete="off" type="text" role="combobox" spellcheck="false" aria-expanded="false" aria-describedby="validation-8788e2ea-e679-4bfb-94f6-d430416e4f49" data-target="query-builder.input" data-action=" input:query-builder#inputChange blur:query-builder#inputBlur keydown:query-builder#inputKeydown focus:query-builder#inputFocus " data-view-component="true" class="FormControl-input QueryBuilder-Input FormControl-medium" /> </div> </div> <span class="sr-only" id="query-builder-test-clear">Clear</span> <button role="button" id="query-builder-test-clear-button" aria-labelledby="query-builder-test-clear query-builder-test-label" data-target="query-builder.clearButton" data-action=" click:query-builder#clear focus:query-builder#clearButtonFocus blur:query-builder#clearButtonBlur " variant="small" hidden="hidden" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium mr-1 px-2 py-0 d-flex flex-items-center rounded-1 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x-circle-fill Button-visual"> <path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657ZM6.03 4.97a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.749.749 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.749.749 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.749.749 0 0 0-.734.215L8 6.94Z"></path> </svg> </button> </div> <template id="search-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </template> <template id="code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="file-code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-code"> <path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path> </svg> </template> <template id="history-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-history"> <path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path> </svg> </template> <template id="repo-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> </template> <template id="bookmark-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bookmark"> <path d="M3 2.75C3 1.784 3.784 1 4.75 1h6.5c.966 0 1.75.784 1.75 1.75v11.5a.75.75 0 0 1-1.227.579L8 11.722l-3.773 3.107A.751.751 0 0 1 3 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.91l3.023-2.489a.75.75 0 0 1 .954 0l3.023 2.49V2.75a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="plus-circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus-circle"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7.25-3.25v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> </template> <template id="trash-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-trash"> <path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75ZM4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.748 1.748 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15ZM6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Z"></path> </svg> </template> <template id="team-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-people"> <path d="M2 5.5a3.5 3.5 0 1 1 5.898 2.549 5.508 5.508 0 0 1 3.034 4.084.75.75 0 1 1-1.482.235 4 4 0 0 0-7.9 0 .75.75 0 0 1-1.482-.236A5.507 5.507 0 0 1 3.102 8.05 3.493 3.493 0 0 1 2 5.5ZM11 4a3.001 3.001 0 0 1 2.22 5.018 5.01 5.01 0 0 1 2.56 3.012.749.749 0 0 1-.885.954.752.752 0 0 1-.549-.514 3.507 3.507 0 0 0-2.522-2.372.75.75 0 0 1-.574-.73v-.352a.75.75 0 0 1 .416-.672A1.5 1.5 0 0 0 11 5.5.75.75 0 0 1 11 4Zm-5.5-.5a2 2 0 1 0-.001 3.999A2 2 0 0 0 5.5 3.5Z"></path> </svg> </template> <template id="project-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-project"> <path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25ZM11.75 3a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-1.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0ZM8 3a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 3Z"></path> </svg> </template> <template id="pencil-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil"> <path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"></path> </svg> </template> <template id="copilot-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot"> <path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="copilot-error-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot-error"> <path d="M16 11.24c0 .112-.072.274-.21.467L13 9.688V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-.198 0-.388-.009-.571-.029L6.833 5.226a4.01 4.01 0 0 0 .17-.782c.117-.935-.037-1.395-.241-1.614-.193-.206-.637-.413-1.682-.297-.683.076-1.115.231-1.395.415l-1.257-.91c.579-.564 1.413-.877 2.485-.996 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095Zm-5.083-8.707c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Zm2.511 11.074c-1.393.776-3.272 1.428-5.43 1.428-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.18-.455-.241-.963-.252-1.475L.31 4.107A.747.747 0 0 1 0 3.509V3.49a.748.748 0 0 1 .625-.73c.156-.026.306.047.435.139l14.667 10.578a.592.592 0 0 1 .227.264.752.752 0 0 1 .046.249v.022a.75.75 0 0 1-1.19.596Zm-1.367-.991L5.635 7.964a5.128 5.128 0 0 1-.889.073c-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433 1.539 0 3.089-.505 4.063-.934Z"></path> </svg> </template> <template id="workflow-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-workflow"> <path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="book-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> </template> <template id="code-review-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-review"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 13H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25v-8.5C0 1.784.784 1 1.75 1ZM1.5 2.75v8.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm5.28 1.72a.75.75 0 0 1 0 1.06L5.31 7l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.75.75 0 0 1 1.06 0Zm2.44 0a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.69 7 9.22 5.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="codespaces-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-codespaces"> <path d="M0 11.25c0-.966.784-1.75 1.75-1.75h12.5c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm2-9.5C2 .784 2.784 0 3.75 0h8.5C13.216 0 14 .784 14 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-8.5A1.75 1.75 0 0 1 2 6.75Zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25Zm-2 9.5a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-3a.25.25 0 0 0-.25-.25Z"></path><path d="M7 12.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> </template> <template id="comment-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment"> <path d="M1 2.75C1 1.784 1.784 1 2.75 1h10.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 13.25 12H9.06l-2.573 2.573A1.458 1.458 0 0 1 4 13.543V12H2.75A1.75 1.75 0 0 1 1 10.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h4.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="comment-discussion-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> </template> <template id="organization-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-organization"> <path d="M1.75 16A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 0 0 .25-.25V8.285a.25.25 0 0 0-.111-.208l-1.055-.703a.749.749 0 1 1 .832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0 1 14.25 16h-3.5a.766.766 0 0 1-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 0 1-.75-.75V14h-1v1.25a.75.75 0 0 1-.75.75Zm-.25-1.75c0 .138.112.25.25.25H4v-1.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 .75.75v1.25h2.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM3.75 6h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 3.75A.75.75 0 0 1 3.75 3h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 3.75Zm4 3A.75.75 0 0 1 7.75 6h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 7 6.75ZM7.75 3h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 9.75A.75.75 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 9.75ZM7.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="rocket-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-rocket"> <path d="M14.064 0h.186C15.216 0 16 .784 16 1.75v.186a8.752 8.752 0 0 1-2.564 6.186l-.458.459c-.314.314-.641.616-.979.904v3.207c0 .608-.315 1.172-.833 1.49l-2.774 1.707a.749.749 0 0 1-1.11-.418l-.954-3.102a1.214 1.214 0 0 1-.145-.125L3.754 9.816a1.218 1.218 0 0 1-.124-.145L.528 8.717a.749.749 0 0 1-.418-1.11l1.71-2.774A1.748 1.748 0 0 1 3.31 4h3.204c.288-.338.59-.665.904-.979l.459-.458A8.749 8.749 0 0 1 14.064 0ZM8.938 3.623h-.002l-.458.458c-.76.76-1.437 1.598-2.02 2.5l-1.5 2.317 2.143 2.143 2.317-1.5c.902-.583 1.74-1.26 2.499-2.02l.459-.458a7.25 7.25 0 0 0 2.123-5.127V1.75a.25.25 0 0 0-.25-.25h-.186a7.249 7.249 0 0 0-5.125 2.123ZM3.56 14.56c-.732.732-2.334 1.045-3.005 1.148a.234.234 0 0 1-.201-.064.234.234 0 0 1-.064-.201c.103-.671.416-2.273 1.15-3.003a1.502 1.502 0 1 1 2.12 2.12Zm6.94-3.935c-.088.06-.177.118-.266.175l-2.35 1.521.548 1.783 1.949-1.2a.25.25 0 0 0 .119-.213ZM3.678 8.116 5.2 5.766c.058-.09.117-.178.176-.266H3.309a.25.25 0 0 0-.213.119l-1.2 1.95ZM12 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </template> <template id="shield-check-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield-check"> <path d="m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="heart-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-heart"> <path d="m8 14.25.345.666a.75.75 0 0 1-.69 0l-.008-.004-.018-.01a7.152 7.152 0 0 1-.31-.17 22.055 22.055 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5 0 2.836 2.086 1 4.25 1 5.797 1 7.153 1.802 8 3.02 8.847 1.802 10.203 1 11.75 1 13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22.066 22.066 0 0 1-3.744 2.584l-.018.01-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3 0 2.15 1.58 4.144 3.365 5.682A20.58 20.58 0 0 0 8 13.393a20.58 20.58 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5Z"></path> </svg> </template> <template id="server-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-server"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v4c0 .372-.116.717-.314 1 .198.283.314.628.314 1v4a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 12.75v-4c0-.358.109-.707.314-1a1.739 1.739 0 0 1-.314-1v-4C0 1.784.784 1 1.75 1ZM1.5 2.75v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm.25 5.75a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25ZM7 4.75A.75.75 0 0 1 7.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 7 4.75ZM7.75 10h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM3 4.75A.75.75 0 0 1 3.75 4h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 4.75ZM3.75 10h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="globe-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-globe"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM5.78 8.75a9.64 9.64 0 0 0 1.363 4.177c.255.426.542.832.857 1.215.245-.296.551-.705.857-1.215A9.64 9.64 0 0 0 10.22 8.75Zm4.44-1.5a9.64 9.64 0 0 0-1.363-4.177c-.307-.51-.612-.919-.857-1.215a9.927 9.927 0 0 0-.857 1.215A9.64 9.64 0 0 0 5.78 7.25Zm-5.944 1.5H1.543a6.507 6.507 0 0 0 4.666 5.5c-.123-.181-.24-.365-.352-.552-.715-1.192-1.437-2.874-1.581-4.948Zm-2.733-1.5h2.733c.144-2.074.866-3.756 1.58-4.948.12-.197.237-.381.353-.552a6.507 6.507 0 0 0-4.666 5.5Zm10.181 1.5c-.144 2.074-.866 3.756-1.58 4.948-.12.197-.237.381-.353.552a6.507 6.507 0 0 0 4.666-5.5Zm2.733-1.5a6.507 6.507 0 0 0-4.666-5.5c.123.181.24.365.353.552.714 1.192 1.436 2.874 1.58 4.948Z"></path> </svg> </template> <template id="issue-opened-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </template> <template id="device-mobile-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-mobile"> <path d="M3.75 0h8.5C13.216 0 14 .784 14 1.75v12.5A1.75 1.75 0 0 1 12.25 16h-8.5A1.75 1.75 0 0 1 2 14.25V1.75C2 .784 2.784 0 3.75 0ZM3.5 1.75v12.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path> </svg> </template> <template id="package-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-package"> <path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"></path> </svg> </template> <template id="credit-card-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-credit-card"> <path d="M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"></path><path d="M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z"></path> </svg> </template> <template id="play-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </template> <template id="gift-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-gift"> <path d="M2 2.75A2.75 2.75 0 0 1 4.75 0c.983 0 1.873.42 2.57 1.232.268.318.497.668.68 1.042.183-.375.411-.725.68-1.044C9.376.42 10.266 0 11.25 0a2.75 2.75 0 0 1 2.45 4h.55c.966 0 1.75.784 1.75 1.75v2c0 .698-.409 1.301-1 1.582v4.918A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25V9.332C.409 9.05 0 8.448 0 7.75v-2C0 4.784.784 4 1.75 4h.55c-.192-.375-.3-.8-.3-1.25ZM7.25 9.5H2.5v4.75c0 .138.112.25.25.25h4.5Zm1.5 0v5h4.5a.25.25 0 0 0 .25-.25V9.5Zm0-4V8h5.5a.25.25 0 0 0 .25-.25v-2a.25.25 0 0 0-.25-.25Zm-7 0a.25.25 0 0 0-.25.25v2c0 .138.112.25.25.25h5.5V5.5h-5.5Zm3-4a1.25 1.25 0 0 0 0 2.5h2.309c-.233-.818-.542-1.401-.878-1.793-.43-.502-.915-.707-1.431-.707ZM8.941 4h2.309a1.25 1.25 0 0 0 0-2.5c-.516 0-1 .205-1.43.707-.337.392-.646.975-.879 1.793Z"></path> </svg> </template> <template id="code-square-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-square"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Zm7.47 3.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L10.69 8 9.22 6.53a.75.75 0 0 1 0-1.06ZM6.78 6.53 5.31 8l1.47 1.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="device-desktop-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-desktop"> <path d="M14.25 1c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 14.25 12h-3.727c.099 1.041.52 1.872 1.292 2.757A.752.752 0 0 1 11.25 16h-6.5a.75.75 0 0 1-.565-1.243c.772-.885 1.192-1.716 1.292-2.757H1.75A1.75 1.75 0 0 1 0 10.25v-7.5C0 1.784.784 1 1.75 1ZM1.75 2.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25ZM9.018 12H6.982a5.72 5.72 0 0 1-.765 2.5h3.566a5.72 5.72 0 0 1-.765-2.5Z"></path> </svg> </template> <div class="position-relative"> <ul role="listbox" class="ActionListWrap QueryBuilder-ListWrap" aria-label="Suggestions" data-action=" combobox-commit:query-builder#comboboxCommit mousedown:query-builder#resultsMousedown " data-target="query-builder.resultsList" data-persist-list=false id="query-builder-test-results" ></ul> </div> <div class="FormControl-inlineValidation" id="validation-8788e2ea-e679-4bfb-94f6-d430416e4f49" hidden="hidden"> <span class="FormControl-inlineValidation--visual"> <svg aria-hidden="true" height="12" viewBox="0 0 12 12" version="1.1" width="12" data-view-component="true" class="octicon octicon-alert-fill"> <path d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 0 1-1.146 1.954H1.33A1.313 1.313 0 0 1 .183 9.058ZM7 7V3H5v4Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path> </svg> </span> <span></span> </div> </div> <div data-target="query-builder.screenReaderFeedback" aria-live="polite" aria-atomic="true" class="sr-only"></div> </query-builder></form> <div class="d-flex flex-row color-fg-muted px-3 text-small color-bg-default search-feedback-prompt"> <a target="_blank" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax" data-view-component="true" class="Link color-fg-accent text-normal ml-2"> Search syntax tips </a> <div class="d-flex flex-1"></div> </div> </div> </div> </div> </modal-dialog></div> </div> <div data-action="click:qbsearch-input#retract" class="dark-backdrop position-fixed" hidden data-target="qbsearch-input.darkBackdrop"></div> <div class="color-fg-default"> <dialog-helper> <dialog data-target="qbsearch-input.feedbackDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="feedback-dialog" aria-modal="true" aria-labelledby="feedback-dialog-title" aria-describedby="feedback-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="feedback-dialog-title"> Provide feedback </h1> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="feedback-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="feedback-dialog-title"> <div data-view-component="true" class="Overlay-body"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="code-search-feedback-form" data-turbo="false" action="/search/feedback" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="I1xIbhJWvJVHywpwDbbZ8Lf898WT1bG34ChHLnEFNL/y60HxlwDNqG9Y3f4ZT0dyHy6/cJWgY6kTU136Hk+jrw==" /> <p>We read every piece of feedback, and take your input very seriously.</p> <textarea name="feedback" class="form-control width-full mb-2" style="height: 120px" id="feedback"></textarea> <input name="include_email" id="include_email" aria-label="Include my email address so I can be contacted" class="form-control mr-2" type="checkbox"> <label for="include_email" style="font-weight: normal">Include my email address so I can be contacted</label> </form></div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd"> <button data-close-dialog-id="feedback-dialog" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="code-search-feedback-form" data-action="click:qbsearch-input#submitFeedback" type="submit" data-view-component="true" class="btn-primary btn"> Submit feedback </button> </div> </dialog></dialog-helper> <custom-scopes data-target="qbsearch-input.customScopesManager"> <dialog-helper> <dialog data-target="custom-scopes.customScopesModalDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="custom-scopes-dialog" aria-modal="true" aria-labelledby="custom-scopes-dialog-title" aria-describedby="custom-scopes-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header Overlay-header--divided"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="custom-scopes-dialog-title"> Saved searches </h1> <h2 id="custom-scopes-dialog-description" class="Overlay-description">Use saved searches to filter your results more quickly</h2> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="custom-scopes-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="custom-scopes-dialog-title"> <div data-view-component="true" class="Overlay-body"> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <div hidden class="create-custom-scope-form" data-target="custom-scopes.createCustomScopeForm"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="custom-scopes-dialog-form" data-turbo="false" action="/search/custom_scopes" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="m1FHwvsupT+74UBLsaJxCq4r5vJ7SMhfaQMSapPWTKKDuSKrhTUFqxNy3w2WIw6cOYrOZYxwe1Ajq/JGuTuJUg==" /> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <input type="hidden" id="custom_scope_id" name="custom_scope_id" data-target="custom-scopes.customScopesIdField"> <div class="form-group"> <label for="custom_scope_name">Name</label> <auto-check src="/search/custom_scopes/check_name" required> <input type="text" name="custom_scope_name" id="custom_scope_name" data-target="custom-scopes.customScopesNameField" class="form-control" autocomplete="off" placeholder="github-ruby" required maxlength="50"> <input type="hidden" data-csrf="true" value="qToSl1+unuUmgGh8h7ZguarZO4N6jw8CF/9s7+gNiHTM0CUKrm1OyQAY76tF77T34JQjrOjcsTAA4kTSw728/Q==" /> </auto-check> </div> <div class="form-group"> <label for="custom_scope_query">Query</label> <input type="text" name="custom_scope_query" id="custom_scope_query" data-target="custom-scopes.customScopesQueryField" class="form-control" autocomplete="off" placeholder="(repo:mona/a OR repo:mona/b) AND lang:python" required maxlength="500"> </div> <p class="text-small color-fg-muted"> To see all available qualifiers, see our <a class="Link--inTextBlock" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax">documentation</a>. </p> </form> </div> <div data-target="custom-scopes.manageCustomScopesForm"> <div data-target="custom-scopes.list"></div> </div> </div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd Overlay-footer--divided"> <button data-action="click:custom-scopes#customScopesCancel" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="custom-scopes-dialog-form" data-action="click:custom-scopes#customScopesSubmit" data-target="custom-scopes.customScopesSubmitButton" type="submit" data-view-component="true" class="btn-primary btn"> Create saved search </button> </div> </dialog></dialog-helper> </custom-scopes> </div> </qbsearch-input> <div class="position-relative HeaderMenu-link-wrap d-lg-inline-block"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fspark-kubernetes-operator%2Fpull%2F135%2Ffiles" class="HeaderMenu-link HeaderMenu-link--sign-in HeaderMenu-button flex-shrink-0 no-underline d-none d-lg-inline-flex border border-lg-0 rounded rounded-lg-0 px-2 py-1" style="margin-left: 12px;" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="caa05b3ce4053b75366ac136faa56ea1f84ff04e631e1e5f85423b85a8600cb5" data-analytics-event="{"category":"Marketing nav","action":"click to go to homepage","label":"ref_page:Marketing;ref_cta:Sign in;ref_loc:Header"}" > Sign in </a> </div> <a href="/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=apache%2Fspark-kubernetes-operator" class="HeaderMenu-link HeaderMenu-link--sign-up HeaderMenu-button flex-shrink-0 d-flex d-lg-inline-flex no-underline border color-border-default rounded px-2 py-1" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="caa05b3ce4053b75366ac136faa56ea1f84ff04e631e1e5f85423b85a8600cb5" data-analytics-event="{"category":"Sign up","action":"click to sign up for account","label":"ref_page:/<user-name>/<repo-name>/pull_requests/show/files;ref_cta:Sign up;ref_loc:header logged out"}" > Sign up </a> <button type="button" class="sr-only js-header-menu-focus-trap d-block d-lg-none">Reseting focus</button> </div> </div> </div> </div> </header> <div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <button id="icon-button-34e4e1c8-cea9-4f19-910b-b8d22bdd887b" aria-labelledby="tooltip-6dda54ce-ec63-493f-b077-8e85bae87157" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button><tool-tip id="tooltip-6dda54ce-ec63-493f-b077-8e85bae87157" for="icon-button-34e4e1c8-cea9-4f19-910b-b8d22bdd887b" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip> </div> </div> <div id="start-of-content" class="show-on-focus"></div> <div id="js-flash-container" class="flash-container" data-turbo-replace> <template class="js-flash-template"> <div class="flash flash-full {{ className }}"> <div > <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div aria-atomic="true" role="alert" class="js-flash-alert"> <div>{{ message }}</div> </div> </div> </div> </template> </div> <div class="application-main " data-commit-hovercards-enabled data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled > <div itemscope itemtype="http://schema.org/SoftwareSourceCode" class=""> <main id="js-repo-pjax-container" > <div id="repository-container-header" class="pt-3 hide-full-screen" style="background-color: var(--page-header-bgColor, var(--color-page-header-bg));" data-turbo-replace> <div class="d-flex flex-nowrap flex-justify-end mb-3 px-3 px-lg-5" style="gap: 1rem;"> <div class="flex-auto min-width-0 width-fit"> <div class=" d-flex flex-wrap flex-items-center wb-break-word f3 text-normal"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo color-fg-muted mr-2"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> <span class="author flex-self-stretch" itemprop="author"> <a class="url fn" rel="author" data-hovercard-type="organization" data-hovercard-url="/orgs/apache/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/apache"> apache </a> </span> <span class="mx-1 flex-self-stretch color-fg-muted">/</span> <strong itemprop="name" class="mr-2 flex-self-stretch"> <a data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/apache/spark-kubernetes-operator">spark-kubernetes-operator</a> </strong> <span></span><span class="Label Label--secondary v-align-middle mr-1">Public</span> </div> </div> <div id="repository-details-container" class="flex-shrink-0" data-turbo-replace style="max-width: 70%;"> <ul class="pagehead-actions flex-shrink-0 d-none d-md-inline" style="padding: 2px 0;"> <li> <a href="/login?return_to=%2Fapache%2Fspark-kubernetes-operator" rel="nofollow" id="repository-details-watch-button" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="7d64f69864b1edc47224a2dddc6881c48795f5a58b4f472283a2d9c9c8b07da8" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bell mr-2"> <path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16ZM3 5a5 5 0 0 1 10 0v2.947c0 .05.015.098.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.255.255 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556a.017.017 0 0 0-.003.01l.001.006c0 .002.002.004.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007a.017.017 0 0 0-.003-.01l-1.703-2.554a1.745 1.745 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5Z"></path> </svg>Notifications </a> <tool-tip id="tooltip-55032baf-0b17-4508-a4e3-90d29acff9d5" for="repository-details-watch-button" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You must be signed in to change notification settings</tool-tip> </li> <li> <a icon="repo-forked" id="fork-button" href="/login?return_to=%2Fapache%2Fspark-kubernetes-operator" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":779091052,"auth_type":"LOG_IN","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="dd93b66b16d3ee5a2dec9bd83f8777a96866270c771fed43f8e7dafdb8c6cd86" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg>Fork <span id="repo-network-counter" data-pjax-replace="true" data-turbo-replace="true" title="16" data-view-component="true" class="Counter">16</span> </a> </li> <li> <div data-view-component="true" class="BtnGroup d-flex"> <a href="/login?return_to=%2Fapache%2Fspark-kubernetes-operator" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":779091052,"auth_type":"LOG_IN","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="8cde660936244441bf93eda40a72dbbab3fa79acf44b5e93811afc78ebf954f4" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-sw btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg><span data-view-component="true" class="d-inline"> Star </span> <span id="repo-stars-counter-star" aria-label="70 users starred this repository" data-singular-suffix="user starred this repository" data-plural-suffix="users starred this repository" data-turbo-replace="true" title="70" data-view-component="true" class="Counter js-social-count">70</span> </a></div> </li> </ul> </div> </div> <div id="responsive-meta-container" data-turbo-replace> </div> <nav data-pjax="#js-repo-pjax-container" aria-label="Repository" data-view-component="true" class="js-repo-nav js-sidenav-container-pjax js-responsive-underlinenav overflow-hidden UnderlineNav px-3 px-md-4 px-lg-5"> <ul data-view-component="true" class="UnderlineNav-body list-style-none"> <li data-view-component="true" class="d-inline-flex"> <a id="code-tab" href="/apache/spark-kubernetes-operator" data-tab-item="i0code-tab" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages repo_deployments repo_attestations /apache/spark-kubernetes-operator" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g c" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Code","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code UnderlineNav-octicon d-none d-sm-inline"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> <span data-content="Code">Code</span> <span id="code-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="pull-requests-tab" href="/apache/spark-kubernetes-operator/pulls" data-tab-item="i1pull-requests-tab" data-selected-links="repo_pulls checks /apache/spark-kubernetes-operator/pulls" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g p" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Pull requests","target":"UNDERLINE_NAV.TAB"}" aria-current="page" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item selected"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> <span data-content="Pull requests">Pull requests</span> <span id="pull-requests-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="1" data-view-component="true" class="Counter">1</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="actions-tab" href="/apache/spark-kubernetes-operator/actions" data-tab-item="i2actions-tab" data-selected-links="repo_actions /apache/spark-kubernetes-operator/actions" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g a" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Actions","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> <span data-content="Actions">Actions</span> <span id="actions-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="security-tab" href="/apache/spark-kubernetes-operator/security" data-tab-item="i3security-tab" data-selected-links="security overview alerts policy token_scanning code_scanning /apache/spark-kubernetes-operator/security" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g s" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Security","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield UnderlineNav-octicon d-none d-sm-inline"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span data-content="Security">Security</span> <include-fragment src="/apache/spark-kubernetes-operator/security/overall-count" accept="text/fragment+html"></include-fragment> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="insights-tab" href="/apache/spark-kubernetes-operator/pulse" data-tab-item="i4insights-tab" data-selected-links="repo_graphs repo_contributors dependency_graph dependabot_updates pulse people community /apache/spark-kubernetes-operator/pulse" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Insights","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> <span data-content="Insights">Insights</span> <span id="insights-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> </ul> <div style="visibility:hidden;" data-view-component="true" class="UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0"> <action-menu data-select-variant="none" data-view-component="true"> <focus-group direction="vertical" mnemonics retain> <button id="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-button" popovertarget="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-overlay" aria-controls="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-list" aria-haspopup="true" aria-labelledby="tooltip-770fa7de-8fca-4fc4-ae72-423459538deb" type="button" data-view-component="true" class="Button Button--iconOnly Button--secondary Button--medium UnderlineNav-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal Button-visual"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </button><tool-tip id="tooltip-770fa7de-8fca-4fc4-ae72-423459538deb" for="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-button" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Additional navigation options</tool-tip> <anchored-position id="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-overlay" anchor="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true"> <div data-view-component="true" class="Overlay Overlay--size-auto"> <div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <action-list> <div data-view-component="true"> <ul aria-labelledby="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-button" id="action-menu-bfb7a07c-5bfe-4ffe-ad9a-4c04540854fe-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap"> <li hidden="hidden" data-menu-item="i0code-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-4fbdd974-2503-4a23-89ed-ba6a828a3b24" href="/apache/spark-kubernetes-operator" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Code </span> </a> </li> <li hidden="hidden" data-menu-item="i1pull-requests-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-1e6a2b1f-7bb9-4815-a78b-7c5bf5271ac6" href="/apache/spark-kubernetes-operator/pulls" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Pull requests </span> </a> </li> <li hidden="hidden" data-menu-item="i2actions-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-de3237b0-23a8-498d-a3d5-bc1827d87171" href="/apache/spark-kubernetes-operator/actions" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Actions </span> </a> </li> <li hidden="hidden" data-menu-item="i3security-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-e5f6a038-83d7-474e-8b92-202225429386" href="/apache/spark-kubernetes-operator/security" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Security </span> </a> </li> <li hidden="hidden" data-menu-item="i4insights-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-64b367c9-3c50-48ef-9e70-741fda6493db" href="/apache/spark-kubernetes-operator/pulse" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Insights </span> </a> </li> </ul> </div></action-list> </div> </div></anchored-position> </focus-group> </action-menu></div> </nav> </div> <turbo-frame id="repo-content-turbo-frame" target="_top" data-turbo-action="advance" class=""> <div id="repo-content-pjax-container" class="repository-content " > <div class="clearfix mt-4 px-3 px-md-4 px-lg-5"> <div class="position-relative js-review-state-classes js-suggested-changes-files-tab" data-pjax data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled > <div id="files_bucket" class="files-bucket files-next-bucket clearfix pull-request-tab-content is-visible js-multi-line-comments-enabled"> <diff-file-filter> <div id="partial-discussion-header" class="gh-header mb-3 js-details-container Details js-socket-channel js-updatable-content pull request js-pull-header-details" data-channel="eyJjIjoicHVsbF9yZXF1ZXN0OjIwODU4MjgxODgiLCJ0IjoxNzMzMTg2NjIxfQ==--fdb51ee162384aa485ca3c60f22c5112691351561c996a849f3ffc52ab271b8e" data-url="/apache/spark-kubernetes-operator/pull/135/partials/title?sticky=false" data-channel-event-name="title_updated" data-pull-is-open="false" data-gid="PR_kwDOLm_8bM58UzZc"> <div class="gh-header-show gh-header-no-access"> <div class="d-flex flex-column flex-md-row"> <div class="gh-header-actions mt-0 mb-3 mb-md-2 ml-1 flex-md-order-1 flex-shrink-0 d-flex flex-items-center gap-1"> <details class="details-reset details-overlay details-overlay-dark float-right" > <summary class="btn btn-sm btn-primary m-0 ml-0 ml-md-2" > New issue </summary> <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast overflow-auto" aria-label="Sign up for GitHub"> <button aria-label="Close dialog" data-close-dialog="" type="button" data-view-component="true" class="Link--muted btn-link position-absolute p-4 right-0"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="d-flex flex-column p-4"> <div class="mt-3 mb-2 text-center"> <svg height="60" aria-hidden="true" viewBox="0 0 24 24" version="1.1" width="60" data-view-component="true" class="octicon octicon-comment-discussion color-fg-accent"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> </div> <div class="px-4"> <p class="text-center mb-4"> <strong>Have a question about this project?</strong> Sign up for a free GitHub account to open an issue and contact its maintainers and the community. </p> <div class="d-flex flex-items-center"> <a href="/signup?return_to=%2Fapache%2Fspark-kubernetes-operator%2Fissues%2Fnew%2Fchoose" data-view-component="true" class="btn-primary btn mx-auto"> Sign up for GitHub </a> </div> <p class="mt-4 color-fg-muted text-center">By clicking “Sign up for GitHub”, you agree to our <a class="Link--inTextBlock" href="https://docs.github.com/terms" target="_blank">terms of service</a> and <a class="Link--inTextBlock" href="https://docs.github.com/privacy" target="_blank">privacy statement</a>. We’ll occasionally send you account related emails.</p> <p class="mt-4 color-fg-muted text-center"> Already on GitHub? <a data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"new issue modal","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-click-hmac="af41cf7011817be4897798db951dac531c8d4bcf52df930492500e30da2e2405" class="Link--inTextBlock" href="/login?return_to=%2Fapache%2Fspark-kubernetes-operator%2Fissues%2Fnew%2Fchoose">Sign in</a> to your account </p> </div> </div> </details-dialog> </details> <div class="flex-auto text-right d-block d-md-none"> <a href="#issue-comment-box" class="py-1">Jump to bottom</a> </div> </div> <h1 class="gh-header-title mb-2 lh-condensed f1 mr-0 flex-auto wb-break-word"> <bdi class="js-issue-title markdown-title">[SPARK-49754] Support HPA for <code>SparkCluster</code></bdi> <span class="f1-light color-fg-muted">#135</span> </h1> </div> </div> <div class="d-flex flex-items-center flex-wrap mt-0 gh-header-meta"> <div class="flex-shrink-0 mb-2 flex-self-start flex-md-self-center"> <span reviewable_state="ready" title="Status: Closed" data-view-component="true" class="State State--closed"> <svg height="16" class="octicon octicon-git-pull-request-closed" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path d="M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 5.5a.75.75 0 0 1 .75.75v3.378a2.251 2.251 0 1 1-1.5 0V7.25a.75.75 0 0 1 .75-.75Zm-2.03-5.273a.75.75 0 0 1 1.06 0l.97.97.97-.97a.748.748 0 0 1 1.265.332.75.75 0 0 1-.205.729l-.97.97.97.97a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-.97-.97-.97.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l.97-.97-.97-.97a.75.75 0 0 1 0-1.06ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg> Closed </span> </div> <div class="flex-auto min-width-0 mb-2"> <a class="author Link--secondary text-bold css-truncate css-truncate-target expandable" data-hovercard-type="user" data-hovercard-url="/users/dongjoon-hyun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/dongjoon-hyun">dongjoon-hyun</a> wants to merge <span class="js-updating-pull-request-commits-count">1</span> commit into <span title="apache/spark-kubernetes-operator:main" class="commit-ref css-truncate user-select-contain expandable "><a title="apache/spark-kubernetes-operator:main" class="no-underline " href="/apache/spark-kubernetes-operator/tree/main"><span class="css-truncate-target">apache</span>:<span class="css-truncate-target">main</span></a></span><span></span> from <span title="dongjoon-hyun/spark-kubernetes-operator:hpa" class="commit-ref css-truncate user-select-contain expandable head-ref"><a title="dongjoon-hyun/spark-kubernetes-operator:hpa" class="no-underline " href="/dongjoon-hyun/spark-kubernetes-operator/tree/hpa"><span class="css-truncate-target">dongjoon-hyun</span>:<span class="css-truncate-target">hpa</span></a></span><span><span data-view-component="true"> <clipboard-copy aria-label="Copy" data-copy-feedback="Copied!" value="dongjoon-hyun:hpa" data-view-component="true" class="Link--onHover js-copy-branch color-fg-muted d-inline-block ml-1"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span></span> </div> </div> </div> <include-fragment src="/apache/spark-kubernetes-operator/pull/135/partials/tabs?tab=files"> <div class="px-3 px-md-0 ml-n3 mr-n3 mx-md-0 tabnav"> <nav class="tabnav-tabs d-flex overflow-auto" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" aria-label="Pull request tabs"> <a href="/apache/spark-kubernetes-operator/pull/135" class="tabnav-tab flex-shrink-0 "> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion d-none d-md-inline-block"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> Conversation <span id="conversation_tab_counter" title="11" data-view-component="true" class="Counter">11</span> </a> <a href="/apache/spark-kubernetes-operator/pull/135/commits" class="tabnav-tab flex-shrink-0 " > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-commit d-none d-md-inline-block"> <path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"></path> </svg> Commits <span id="commits_tab_counter" title="1" data-view-component="true" class="Counter js-updateable-pull-request-commits-count">1</span> </a> <a href="/apache/spark-kubernetes-operator/pull/135/checks" class="tabnav-tab flex-shrink-0 "> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-checklist d-none d-md-inline-block"> <path d="M2.5 1.75v11.5c0 .138.112.25.25.25h3.17a.75.75 0 0 1 0 1.5H2.75A1.75 1.75 0 0 1 1 13.25V1.75C1 .784 1.784 0 2.75 0h8.5C12.216 0 13 .784 13 1.75v7.736a.75.75 0 0 1-1.5 0V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13.274 9.537v-.001l-4.557 4.45a.75.75 0 0 1-1.055-.008l-1.943-1.95a.75.75 0 0 1 1.062-1.058l1.419 1.425 4.026-3.932a.75.75 0 1 1 1.048 1.074ZM4.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM4 7.75A.75.75 0 0 1 4.75 7h2a.75.75 0 0 1 0 1.5h-2A.75.75 0 0 1 4 7.75Z"></path> </svg> Checks <span id="checks_tab_counter" title="14" data-view-component="true" class="Counter">14</span> </a> <a href="/apache/spark-kubernetes-operator/pull/135/files" class="tabnav-tab flex-shrink-0 selected" aria-current="page"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-diff d-none d-md-inline-block"> <path d="M1 1.75C1 .784 1.784 0 2.75 0h7.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V4.664a.25.25 0 0 0-.073-.177l-2.914-2.914a.25.25 0 0 0-.177-.073ZM8 3.25a.75.75 0 0 1 .75.75v1.5h1.5a.75.75 0 0 1 0 1.5h-1.5v1.5a.75.75 0 0 1-1.5 0V7h-1.5a.75.75 0 0 1 0-1.5h1.5V4A.75.75 0 0 1 8 3.25Zm-3 8a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"></path> </svg> Files changed </a> </nav> </div> </include-fragment> <diff-layout > <button data-hotkey="t" data-action="click:diff-layout#handleOpenFilesListHotkeyEvent" hidden="hidden" type="button" data-view-component="true" class="btn"> </button> <div class="pr-toolbar d-flex js-sticky-is-stuck" data-target="diff-layout.diffToolbar"> <div class="diffbar details-collapse js-details-container Details flex-1 d-flex flex-items-center width-full flex-wrap gap-2"> <div class="show-if-stuck mr-2 hide-md hide-sm"> <div id="pull-state" class="js-socket-channel js-updatable-content" data-channel="eyJjIjoiaXNzdWU6MjU0MTgwNTQzNjpzdGF0ZSIsInQiOjE3MzMxODY2MjF9--d66b8970123e4b080691540dd24dfff18f344e26b4cba0bb69a150f47c877945" data-url="/apache/spark-kubernetes-operator/pull/135/partials/state" data-gid="PR_kwDOLm_8bM58UzZc" > <span reviewable_state="ready" title="Status: Closed" data-view-component="true" class="State State--closed"> <svg height="16" class="octicon octicon-git-pull-request-closed" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path d="M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 5.5a.75.75 0 0 1 .75.75v3.378a2.251 2.251 0 1 1-1.5 0V7.25a.75.75 0 0 1 .75-.75Zm-2.03-5.273a.75.75 0 0 1 1.06 0l.97.97.97-.97a.748.748 0 0 1 1.265.332.75.75 0 0 1-.205.729l-.97.97.97.97a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-.97-.97-.97.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l.97-.97-.97-.97a.75.75 0 0 1 0-1.06ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg> Closed </span> </div> </div> <div class="flex-auto min-width-0"> <div class="show-if-stuck hide-md hide-sm"> <h1 class="d-flex text-bold f5"> <a class="js-issue-title css-truncate css-truncate-target Link--primary width-fit markdown-title js-smoothscroll-anchor" href="#top"> [SPARK-49754] Support HPA for <code>SparkCluster</code> </a> <span class="gh-header-number color-fg-muted pl-1">#135</span> </h1> </div> <div class="d-flex flex-items-center flex-wrap" style="gap: 4px 16px;" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame"> <instrument-files style="display: none;" data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"user_id":null,"pull_request_id":2085828188,"category":"files","action":"ctrl_f","data":{"file_count":8},"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="ee78e41d993b4ebc7ad82c533e1dd3194a56e76df93ca42373a95d13b67b4ca6" ></instrument-files> <file-tree-toggle data-action="toggle-sidebar:diff-layout#toggleSidebar" class="d-none d-md-inline-block d-lg-inline-block d-xl-inline-block" > <div data-view-component="true" class="position-relative d-inline-block"> <button id="show-file-tree-button" data-target="file-tree-toggle.showFileTreeButton diff-layout.showFileTreeButton" data-action="click:file-tree-toggle#toggleFileTree" data-prefer-file-tree-visible="true" data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8},"pull_request_id":2085828188,"user_id":null,"action":"show_tree","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="c9757994cf069896b0ca75d78b75b2fdf71abeb3a1aff79fc4f5999a0e2b4e9a" hidden="hidden" type="button" data-view-component="true" class="btn-octicon Link--muted diffbar-item m-0 p-0"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sidebar-collapse"> <path d="M6.823 7.823a.25.25 0 0 1 0 .354l-2.396 2.396A.25.25 0 0 1 4 10.396V5.604a.25.25 0 0 1 .427-.177Z"></path><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25H9.5v-13H1.75a.25.25 0 0 0-.25.25ZM11 14.5h3.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11Z"></path> </svg> </button> <tool-tip id="tooltip-bcdd0e98-d60a-470e-9b4e-76df95fcce6b" for="show-file-tree-button" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Show file tree</tool-tip> </div> <div data-view-component="true" class="position-relative d-inline-block"> <button id="hide-file-tree-button" data-target="file-tree-toggle.hideFileTreeButton" data-action="click:file-tree-toggle#toggleFileTree" data-prefer-file-tree-visible="false" data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8},"pull_request_id":2085828188,"user_id":null,"action":"hide_tree","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="190e2391685da224f6ef11ff2c4e222f4027bd3a53193de815bd33b9e4387fc8" type="button" data-view-component="true" class="btn-octicon Link--muted diffbar-item m-0 p-0"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sidebar-expand"> <path d="m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354Z"></path><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13Zm12.5 13a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11v13Z"></path> </svg> </button> <tool-tip id="tooltip-ee07b5ff-eeee-4103-9b91-b4f5d831985a" for="hide-file-tree-button" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Hide file tree</tool-tip> </div> </file-tree-toggle> <details class="details-reset details-overlay diffbar-item diffbar-range-menu select-menu ml-0"> <summary data-hotkey="c" data-view-component="true" class="Link--muted select-menu-button btn-link"> Changes from <strong>all commits</strong> </summary> <details-menu class="select-menu-modal position-absolute" style="z-index: 99;"> <div class="select-menu-header"> <span class="select-menu-title">Commits</span> </div> <div class="select-menu-list"> <a href="/apache/spark-kubernetes-operator/pull/135/files" class="select-menu-item" role="menuitem"> <div class="select-menu-item-text"> <div class="text-emphasized css-truncate css-truncate-target"> Show all changes </div> <span class="description"> 1 commit </span> </div> </a> <div class="select-menu-divider"> Select commit </div> <div data-range-url="/apache/spark-kubernetes-operator/pull/135/files/$range"> <a href="/apache/spark-kubernetes-operator/pull/135/commits/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf" class="select-menu-item " role="menuitem" data-commit="1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf" > <div class="select-menu-item-text"> <code class="float-right">1d1b46f</code> <div class="text-emphasized css-truncate css-truncate-target"> [SPARK-49754] Support HPA for `SparkCluster` </div> <span class="description"> dongjoon-hyun <relative-time datetime="2024-09-23T06:15:49Z" class="no-wrap">Sep 23, 2024</relative-time> </span> </div> </a> </div> </div> </details-menu> </details> <file-filter data-target="diff-file-filter.fileFilter" data-action="file-filter-change:diff-file-filter#applyFilter"> <details class="diffbar-item details-reset details-overlay" > <summary class="Link--muted select-menu-button" aria-haspopup="true" data-target="file-filter.summary"> <strong class="js-file-filter-text css-truncate css-truncate-target" data-target="file-filter.fileFilterActiveText" > File filter </strong> </summary> <details-menu class="SelectMenu js-file-filter"> <div class="SelectMenu-modal"> <header class="SelectMenu-header"> <h3 class="SelectMenu-title">Filter by extension</h3> </header> <div class="SelectMenu-list SelectMenu-list--borderless"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-file-filter-form" data-turbo="false" action="/" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="jqamDojYJkPwhrlhGvSJ82SP-PuNtNebrcpl-Cuy42l-mFHXS7iBmQSbFjhErr2np2QtHPgHVlq5vBBcSugf4g" autocomplete="off" /> <fieldset> <legend class="sr-only">Filter by extension</legend> <label class="SelectMenu-item" role="menuitem"> <input class="js-diff-file-type-option mr-2" type="checkbox" value=".java" name="file-filters[]" checked data-hydro-click-payload= "{"event_type":"pull_request.user_action","payload":{"user_id":null,"pull_request_id":2085828188,"category":"file_filter","action":"toggle_file_filter_option","data":{"type":"extension","file_type":".java","file_count":6},"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac= "b14e1eba04e66352e1afe9254cbe3b9ed4003c079ebf24a1216d9383af6989cb" data-non-deleted-files-count="6" data-targets="file-filter.fileExtensions" data-action="change:file-filter#updateFileInputs" > .java  <span class="text-normal js-file-type-count" data-non-deleted-file-count-markup="(6)" data-all-file-count-markup="(6)" data-targets="file-filter.fileTypeCount" > (6) </span> </label> <label class="SelectMenu-item" role="menuitem"> <input class="js-diff-file-type-option mr-2" type="checkbox" value=".yaml" name="file-filters[]" checked data-hydro-click-payload= "{"event_type":"pull_request.user_action","payload":{"user_id":null,"pull_request_id":2085828188,"category":"file_filter","action":"toggle_file_filter_option","data":{"type":"extension","file_type":".yaml","file_count":2},"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac= "3289d526355999c45febf794575e27e2c5beefe59adc7c1430756bfe7da564e0" data-non-deleted-files-count="2" data-targets="file-filter.fileExtensions" data-action="change:file-filter#updateFileInputs" > .yaml  <span class="text-normal js-file-type-count" data-non-deleted-file-count-markup="(2)" data-all-file-count-markup="(2)" data-targets="file-filter.fileTypeCount" > (2) </span> </label> <label class="SelectMenu-item" role="menuitem"> <input type="checkbox" class="sr-only hx_focus-input" data-target="file-filter.selectAllInput" data-action="change:file-filter#enableAllFileInputs" > <span class="color-fg-muted no-underline text-normal js-file-filter-select-all-container hx_focus-target" data-select-all-markup="Select all 2 file types" data-all-selected-markup="All 2 file types selected" data-target="file-filter.selectAllContainer" > All 2 file types selected </span> </label> </fieldset> <hr class="SelectMenu-divider"> <label class="SelectMenu-item" role="menuitem"> <input type="checkbox" class="js-viewed-files-toggle mr-2" name="show-viewed-files" value="true" checked data-hydro-click-payload= "{"event_type":"pull_request.user_action","payload":{"user_id":null,"pull_request_id":2085828188,"category":"file_filter","action":"toggle_file_filter_option","data":{"type":"viewed"},"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac= "d881b5e465684c2dc5721c709bd4e5bf09695a653cff84250e6ea26253affb8c" data-target="file-filter.viewedFilesInput" data-action="change:file-filter#updateFileInputs" > Viewed files </label> </form> </div> </div> </details-menu> </details> </file-filter> <div class="js-reset-filters diffbar-item hide-sm" data-target="diff-file-filter.resetFilters" hidden > <a class="text-bold color-fg-accent no-underline" href="/apache/spark-kubernetes-operator/pull/135/files" data-action="click:diff-file-filter#clearFilters" data-hydro-click="{"event_type":"pull_request.user_action","payload":{"user_id":null,"pull_request_id":2085828188,"category":"file_filter","action":"clear_filters","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="49593eaa5bc6257cb1481bb58dea783b5fa7bd1c4338a08a0ad3263e39dd456b" > <svg style="height: 12px; width: 12px;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x color-fg-muted"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> <span>Clear filters</span> </a> </div> <div class="position-relative diffbar-item ml-0"> <details class="details-reset details-overlay toc-select js-conversations-details select-menu ml-0"> <summary data-ga-click="Pull Requests, open view comments menu, type:semantic" data-view-component="true" class="Link--muted select-menu-button btn-link"> <strong class="js-conversation-menu-button">Conversations</strong> </summary> <details-menu class="select-menu-modal position-absolute" style="z-index: 99;" id="conversations-menu" src="/apache/spark-kubernetes-operator/pull/135/conversations_menu" preload> <include-fragment> <div class="select-menu-blankslate select-menu-error"> Failed to load comments. <button type="button" data-view-component="true" class="js-toc-retry btn-link"> Retry </button> </div> <div class="select-menu-loading-overlay d-flex flex-items-center flex-justify-center"> <span data-view-component="true"> <svg style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" aria-hidden="true" data-view-component="true" class="flex-1 anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg> <span class="sr-only">Loading</span> </span> </div> </include-fragment> </details-menu> </details> </div> <details class="details-reset details-overlay diffbar-item toc-select select-menu ml-0 d-md-none" data-target="diff-layout.tocMenu" > <summary data-target="diff-layout.tocMenuButton" data-ga-click="Pull Requests, open table of contents, type:semantic" data-view-component="true" class="Link--muted select-menu-button btn-link"> <strong>Jump to</strong> </summary> <details-menu class="select-menu-modal position-absolute" style="z-index: 99;" src="/apache/spark-kubernetes-operator/pull/135/show_toc?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&sha1=4aaae715ff784f64c2f35379254255ffbb8dc384&sha2=1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf" preload> <div class="select-menu-header"> <span class="select-menu-title"> Jump to file </span> </div> <include-fragment> <div class="select-menu-blankslate select-menu-error"> Failed to load files. <button type="button" data-view-component="true" class="js-toc-retry btn-link"> Retry </button> </div> <div class="select-menu-loading-overlay" aria-busy="true"> <span data-view-component="true"> <svg style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" aria-hidden="true" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg> <span class="sr-only">Loading</span> </span> </div> </include-fragment> </details-menu> </details> <div class="hide-sm hide-md"> <details data-view-component="true" class="diffbar-item details-reset details-overlay position-relative text-center"> <summary role="button" data-view-component="true"> <svg aria-label="Diff settings" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-gear color-fg-muted"> <path d="M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z"></path> </svg> <div class="dropdown-caret color-fg-muted"></div> </summary> <div data-view-component="true"> <div data-view-component="true" class="Popover position-absolute mt-2 pt-1 right-0 left-0"> <div style="left: -107px; top: -7px" data-view-component="true" class="Popover-message Box position-relative mx-auto text-left color-shadow-large p-2 mt-2"> <h5 data-view-component="true" class="mb-2"> Diff view </h5> <!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/diffview" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="NIT7XEWDxE6gmlxAZzSer9tOFSVzoRLFOHLGU2Q3Z5lKlIXQqEOQUgqR06D57oEOQsm2PZ+mFKM0niKmFrnpAw==" /> <div class="d-flex flex-justify-center"> <div class="js-unified-diff-view"> <div data-view-component="true" class="js-unified-diff-view-box border rounded-1 pt-3 pb-1 color-border-accent-emphasis"> <label> <div class="text-center px-4"> <img src="https://github.githubassets.com/assets/unified-6de447b07fd7.svg" height="50" width="50" alt="Unified Diff View" data-view-component="true" /> </div> <div class="d-flex flex-items-center ml-2"> <input type="radio" name="diff" id="diff_unified_lg" value="unified" class="js-unified-diff-view-option mr-1" checked="checked" /> Unified </div> </label> </div> </div> <div class="js-split-diff-view"> <div data-view-component="true" class="js-split-diff-view-box border rounded-1 pt-3 pb-1 ml-2 color-border-default"> <label> <div class="text-center px-4"> <img src="https://github.githubassets.com/assets/split-b930d4a1df45.svg" height="50" width="50" alt="Split Diff View" data-view-component="true" /> </div> <div class="d-flex flex-items-center ml-2"> <input type="radio" name="diff" id="diff_split_lg" value="split" class="js-split-diff-view-option mr-1" /> Split </div> </label> </div> </div> </div> <div class="mt-2 mb-2 ml-1 d-flex flex-items-center"> <input type="hidden" name="w" id="show_whitespace_lg" value="0" autocomplete="off" class="form-control" /> <input type="checkbox" name="w" id="whitespace-cb-lg" value="1" /> <label for="whitespace-cb-lg" class="ml-1">Hide whitespace</label> </div> <div class="d-flex flex-column mt-2 px-1"> <button type="submit" data-view-component="true" class="btn-sm btn"> Apply and reload </button> </div> </form> </div></div></div> </details></div> <div class="ml-2 hide-sm hide-md"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/diffview" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="JsUyRjDSAmrrMTI6qpEiDhi2Xg2hHyrTRr19Totz9o5Y1UzK3RJWdkE6vdo0Sz2vgTH9FU0YLLVKUZm7+f14FA==" /> <button name="w" value="0" hidden="hidden" type="submit" data-view-component="true" class="btn-invisible btn-sm btn color-fg-accent py-0 px-1 rounded-1"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-eye color-fg-accent mr-2"> <path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14c-1.981 0-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2ZM1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5c1.473 0 2.825-.742 3.955-1.715 1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5c-1.473 0-2.825.742-3.955 1.715-1.124.967-1.954 2.096-2.366 2.717ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"></path> </svg>Show whitespace </button></form></div> <div class="hide-lg hide-xl"> <details data-view-component="true" class="diffbar-item details-reset details-overlay position-relative text-center"> <summary role="button" data-view-component="true"> <svg aria-label="Diff settings" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-gear color-fg-muted"> <path d="M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z"></path> </svg> <div class="dropdown-caret color-fg-muted"></div> </summary> <div data-view-component="true"> <div data-view-component="true" class="Popover position-fixed mt-2 pt-1 right-0 left-0"> <div data-view-component="true" class="Popover-message Box position-relative mx-auto text-left color-shadow-large p-2 mt-2"> <h5 data-view-component="true" class="mb-2"> Diff view </h5> <!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/diffview" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="KHArFMGPn/83+/5juSnANxUy0tx9Q/4GyvVcDo/bSYtWYFWYLE/L453wcYMn89+WjLVxxJFE+GDGGbj7/VXHEQ==" /> <div class="d-flex flex-items-center"> <div class="js-unified-diff-view d-flex flex-1"> <div data-view-component="true" class="js-unified-diff-view-box flex-1 border rounded-1 pt-3 px-2 pb-1 color-border-accent-emphasis"> <label> <div class="text-center"> <img src="https://github.githubassets.com/assets/unified-6de447b07fd7.svg" height="50" width="50" alt="Unified Diff View" data-view-component="true" /> </div> <div class="d-flex flex-items-center"> <input type="radio" name="diff" id="diff_unified" value="unified" class="js-unified-diff-view-option mr-1" checked="checked" /> Unified </div> </label> </div> </div> <div class="js-split-diff-view d-flex flex-1"> <div data-view-component="true" class="js-split-diff-view-box flex-1 border rounded-1 pt-3 px-2 pb-1 ml-2 color-border-default"> <label> <div class="text-center"> <img src="https://github.githubassets.com/assets/split-b930d4a1df45.svg" height="50" width="50" alt="Split Diff View" data-view-component="true" /> </div> <div class="d-flex flex-items-center"> <input type="radio" name="diff" id="diff_split" value="split" class="js-split-diff-view-option mr-1" /> Split </div> </label> </div> </div> </div> <div class="mt-2 mb-2 d-flex flex-items-center"> <input type="hidden" name="w" id="show_whitespace" value="0" autocomplete="off" class="form-control" /> <input type="checkbox" name="w" id="whitespace-cb" value="1" /> <label for="whitespace-cb" class="ml-1">Hide whitespace</label> </div> <div class="d-flex flex-column mt-2"> <button type="submit" data-view-component="true" class="btn-sm btn"> Apply and reload </button> </div> </form> </div></div></div> </details></div> <div class="js-socket-channel js-updatable-content js-pull-refresh-on-pjax" data-channel="eyJjIjoicHVsbF9yZXF1ZXN0OjIwODU4MjgxODgiLCJ0IjoxNzMzMTg2NjIxfQ==--fdb51ee162384aa485ca3c60f22c5112691351561c996a849f3ffc52ab271b8e" data-url="/apache/spark-kubernetes-operator/pull/135/show_partial_comparison?base_commit_oid=4aaae715ff784f64c2f35379254255ffbb8dc384&end_commit_oid=1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf&partial=pull_requests%2Fstale_comparison&start_commit_oid=4aaae715ff784f64c2f35379254255ffbb8dc384" data-gid="PR_kwDOLm_8bM58UzZc"></div> </div> </div> <div class="flex-grow-0 flex-shrink-0 pr-review-tools"> </div> </div> </div> <div class="toolbar-shadow js-notification-shelf-offset-top" data-original-top="60px"></div> <div side="left" responsive="true" data-target="diff-layout.layoutContainer" data-view-component="true" class="Layout Layout--flowRow-until-md Layout--gutter-condensed hx_Layout wants-full-width-container Layout--sidebarPosition-start Layout--sidebarPosition-flowRow-none"> <div data-target="diff-layout.sidebarContainer" data-action="scroll:diff-layout.sidebarContainer#handleSidebarScroll" data-view-component="true" class="Layout-sidebar overflow-y-auto hx_Layout--sidebar js-notification-shelf-offset-top position-sticky"> <div > <svg xmlns="http://www.w3.org/2000/svg" hidden aria-hidden="true"> <symbol id="octicon_file-directory-fill_16" viewBox="0 0 16 16" width="16" height="16"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></symbol><symbol id="octicon_file-submodule_16" viewBox="0 0 16 16" width="16" height="16"><path d="M0 2.75C0 1.784.784 1 1.75 1H5c.55 0 1.07.26 1.4.7l.9 1.2a.25.25 0 0 0 .2.1h6.75c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25Zm9.42 9.36 2.883-2.677a.25.25 0 0 0 0-.366L9.42 6.39a.249.249 0 0 0-.42.183V8.5H4.75a.75.75 0 0 0 0 1.5H9v1.927c0 .218.26.331.42.183Z"></path></symbol><symbol id="octicon_file_16" viewBox="0 0 16 16" width="16" height="16"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></symbol><symbol id="octicon_chevron-down_16" viewBox="0 0 16 16" width="16" height="16"><path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path></symbol><symbol id="octicon_diff-added_16" viewBox="0 0 16 16" width="16" height="16"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1Zm10.5 1.5H2.75a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4Z"></path></symbol><symbol id="octicon_diff-removed_16" viewBox="0 0 16 16" width="16" height="16"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm8.5 6.25h-6.5a.75.75 0 0 1 0-1.5h6.5a.75.75 0 0 1 0 1.5Z"></path></symbol><symbol id="octicon_diff-modified_16" viewBox="0 0 16 16" width="16" height="16"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"></path></symbol><symbol id="octicon_diff-renamed_16" viewBox="0 0 16 16" width="16" height="16"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm9.03 6.03-3.25 3.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.97-1.97H4.75a.75.75 0 0 1 0-1.5h4.69L7.47 5.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l3.25 3.25a.75.75 0 0 1 0 1.06Z"></path></symbol> </svg> <div class="subnav-search mx-0 mb-2" > <input type="text" id="file-tree-filter-field" class="form-control input-block pl-5 js-filterable-field" placeholder="Filter changed files" aria-label="Filter changed files" autocomplete="off" data-target="diff-layout.fileTreePathFilter" data-hydro-click-payload={"event_type":"pull_request.user_action","payload":{"category":"file_filter","data":{"file_count":8},"pull_request_id":2085828188,"user_id":null,"action":"filter_by_pathname","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}} data-hydro-click-hmac=3305d5e4818f653f4220a69d4fcd7218f61df39bc0982d33f6aa29081e478cda > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search subnav-search-icon"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </div> <experimental-action-list data-arrow-navigation="true"> <file-tree data-target="diff-layout.fileTree"> <nav aria-label="File Tree Navigation" > <ul class="ActionList ActionList--tree ActionList--full" role="tree" aria-label="File Tree" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" data-tree-entry-type="root" data-target="diff-file-filter.treeRoot" data-action=" filterable:change:diff-file-filter#hideEmptyDirectories filterable:change:file-tree#instrumentPathFilterChange filterable:change:experimental-action-list#setupFocusZone " > <li class="ActionList-item ActionList-item--hasSubItem js-tree-node" aria-level="1" role="treeitem" style="--ActionList-tree-depth: 1;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > build-tools/helm/spark-kubernetes-operator/templates </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="2" style="--ActionList-tree-depth: 2;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml","extension":".yaml"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="22f4691033ddfcb05722e971f2dd38e7d3b7823b81145fee70d1fb9b1b775a24" data-file-type=".yaml" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml</span> <a class="ActionList-content hx_ActionList-content" href="#diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > operator-rbac.yaml </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem js-tree-node" aria-level="1" role="treeitem" style="--ActionList-tree-depth: 1;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > examples </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262ab" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="2" style="--ActionList-tree-depth: 2;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"examples/cluster-with-hpa.yaml","extension":".yaml"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="3c42b77b99d24e445b801ac37d3494ac6b17697bc98c2479e62e8040a5041236" data-file-type=".yaml" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>examples/cluster-with-hpa.yaml</span> <a class="ActionList-content hx_ActionList-content" href="#diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262ab" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > cluster-with-hpa.yaml </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="added" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-added color-fg-success"> <use href="#octicon_diff-added_16"></use> </svg> </span> </a> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem js-tree-node" aria-level="1" role="treeitem" style="--ActionList-tree-depth: 1;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > spark-operator/src/main/java/org/apache/spark/k8s/operator </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > context </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java","extension":".java"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="2675d4b56fc12629a6a55195ca42d4b6ab4a2c036bf1beaa41e4e7fd7093e04a" data-file-type=".java" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java</span> <a class="ActionList-content hx_ActionList-content" href="#diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > SparkClusterContext.java </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > reconciler </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java","extension":".java"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="2101a3e60c91f8bdbcc739218d5a0301b1b2e3faedaf23fe4f71c8f13e64c3f6" data-file-type=".java" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java</span> <a class="ActionList-content hx_ActionList-content" href="#diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > SparkClusterResourceSpecFactory.java </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="3" role="treeitem" style="--ActionList-tree-depth: 3;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > reconcilesteps </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="4" style="--ActionList-tree-depth: 4;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java","extension":".java"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="854899307f3cef1722372a381a7c6327303ae15e27580882ca625fed4f151aeb" data-file-type=".java" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java</span> <a class="ActionList-content hx_ActionList-content" href="#diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > ClusterInitStep.java </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> </ul> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem js-tree-node" aria-level="1" role="treeitem" style="--ActionList-tree-depth: 1;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > spark-submission-worker/src </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > main/java/org/apache/spark/k8s/operator </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java","extension":".java"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="146ecee50748b17abfd7b4d56eedd2858ec3884da36f137936eb0b7a2ad94b00" data-file-type=".java" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java</span> <a class="ActionList-content hx_ActionList-content" href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > SparkClusterResourceSpec.java </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > test/java/org/apache/spark/k8s/operator </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java","extension":".java"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="cf1ca77bee2c47b9abbe2a9fee51d20b74b328f6613e346bcd73eb40eff8e734" data-file-type=".java" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java</span> <a class="ActionList-content hx_ActionList-content" href="#diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > SparkClusterResourceSpecTest.java </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li id="file-tree-item-diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":8,"path":"spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java","extension":".java"},"pull_request_id":2085828188,"user_id":null,"action":"file_selected","originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files"}}" data-hydro-click-hmac="7d1cb772bbe2bc03fc69010e870fa4d3e2c94b6d4644fd8b7d57641b8b7386cf" data-file-type=".java" data-file-deleted="false" data-codeowners="" data-tree-entry-type="file" > <span data-filterable-item-text hidden>spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java</span> <a class="ActionList-content hx_ActionList-content" href="#diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > SparkClusterSubmissionWorkerTest.java </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> </ul> </li> </ul> </nav> </file-tree> </experimental-action-list> </div> </div> <div data-target="diff-layout.mainContainer" data-view-component="true" class="Layout-main"> <template class="js-comment-button-template"> <button data-path="{{ path }}" data-anchor="{{ anchor }}" data-position="{{ position }}" data-side="{{ side }}" data-line="{{ line }}" data-original-line="{{ originalLine }}" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"> <path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z"></path> </svg> </button></template> <div id="files" class="diff-view js-diff-container js-code-nav-container" data-hpc> <div class="container-md js-file-filter-blankslate" data-target="diff-file-filter.blankslate" hidden> <div class="blankslate-container"> <div data-view-component="true" class="blankslate"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-filter blankslate-icon"> <path d="M2.75 6a.75.75 0 0 0 0 1.5h18.5a.75.75 0 0 0 0-1.5H2.75ZM6 11.75a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H6.75a.75.75 0 0 1-.75-.75Zm4 4.938a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path> </svg> <h2 data-view-component="true" class="blankslate-heading"> There are no files selected for viewing </h2> </div> </div> </div> <div class="js-diff-progressive-container"> <copilot-diff-entry data-file-path="build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" > <div id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".yaml" data-file-deleted="false" data-tagsearch-path="build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" data-tagsearch-lang="YAML" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" data-short-path="db9e94a" data-anchor="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" data-file-type=".yaml" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/eebbf557b81b08bdc6631f9b4b98a16cf8c96dbf?anchor=diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183&context=pull_request&diff=unified&direction=full&mode=100644&path=build-tools%2Fhelm%2Fspark-kubernetes-operator%2Ftemplates%2Foperator-rbac.yaml&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 6 changes: 6 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">6 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" class="Link--primary Truncate-text" href="#diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183">build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" id="expand-up-link-0-diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/eebbf557b81b08bdc6631f9b4b98a16cf8c96dbf?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=35&left_hunk_size=6&mode=100644&path=build-tools%2Fhelm%2Fspark-kubernetes-operator%2Ftemplates%2Foperator-rbac.yaml&pull_request_id=2085828188&right=35&right_hunk_size=12" data-left-range="1-34" data-right-range="1-34"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-dbb52e05-fc5d-4ae4-9f8c-12f2443b1ce2" for="expand-up-link-0-diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -35,6 +35,12 @@ rules:</td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183L35" data-line-number="35" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R35" data-line-number="35" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> - statefulsets</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183L36" data-line-number="36" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R36" data-line-number="36" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> verbs:</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183L37" data-line-number="37" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R37" data-line-number="37" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> - '*'</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R38" data-line-number="38" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> - apiGroups:</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R39" data-line-number="39" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> - "autoscaling"</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R40" data-line-number="40" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> resources:</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R41" data-line-number="41" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> - horizontalpodautoscalers</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R42" data-line-number="42" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> verbs:</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R43" data-line-number="43" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> - '*'</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183L38" data-line-number="38" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R44" data-line-number="44" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> - apiGroups:</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183L39" data-line-number="39" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R45" data-line-number="45" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> - "spark.apache.org"</span></td> </tr> <tr data-hunk="1bafff2adb744be13b66e0c21c026a8eb976fed517009833a165f3d55d386b9d" class="show-top-border"> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183L40" data-line-number="40" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183R46" data-line-number="46" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> resources:</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" id="expand-down-link--diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/eebbf557b81b08bdc6631f9b4b98a16cf8c96dbf?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=40&last_right=46&left=167&left_hunk_size=&mode=100644&path=build-tools%2Fhelm%2Fspark-kubernetes-operator%2Ftemplates%2Foperator-rbac.yaml&pull_request_id=2085828188&right=167&right_hunk_size=" data-left-range="41-166" data-right-range="47-166"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-e77325f7-5fde-4c48-ac83-882da5b8b08e" for="expand-down-link--diff-db9e94ac729b1b759cc837d78d5f91ed95e72a6b69842e5ecfaf709256e6e183" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="examples/cluster-with-hpa.yaml" > <div id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262ab" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open has-inline-notes js-tagsearch-file" data-file-type=".yaml" data-file-deleted="false" data-tagsearch-path="examples/cluster-with-hpa.yaml" data-tagsearch-lang="YAML" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="examples/cluster-with-hpa.yaml" data-short-path="dead580" data-anchor="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262ab" data-file-type=".yaml" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <span class="sr-only"> 45 changes: 45 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">45 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="examples/cluster-with-hpa.yaml" class="Link--primary Truncate-text" href="#diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262ab">examples/cluster-with-hpa.yaml</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="examples/cluster-with-hpa.yaml" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/examples/cluster-with-hpa.yaml" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="examples/cluster-with-hpa.yaml" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262ab" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr data-position="0"> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abHL0" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abHR1" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -0,0 +1,45 @@</td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR1" data-line-number="1" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># Licensed to the Apache Software Foundation (ASF) under one or more</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR2" data-line-number="2" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># contributor license agreements. See the NOTICE file distributed with</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR3" data-line-number="3" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># this work for additional information regarding copyright ownership.</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR4" data-line-number="4" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># The ASF licenses this file to You under the Apache License, Version 2.0</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR5" data-line-number="5" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># (the "License"); you may not use this file except in compliance with</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR6" data-line-number="6" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># the License. You may obtain a copy of the License at</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR7" data-line-number="7" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">#</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR8" data-line-number="8" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># http://www.apache.org/licenses/LICENSE-2.0</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR9" data-line-number="9" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">#</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR10" data-line-number="10" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># Unless required by applicable law or agreed to in writing, software</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR11" data-line-number="11" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># distributed under the License is distributed on an "AS IS" BASIS,</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR12" data-line-number="12" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR13" data-line-number="13" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># See the License for the specific language governing permissions and</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR14" data-line-number="14" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"># limitations under the License.</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR15" data-line-number="15" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">apiVersion: spark.apache.org/v1alpha1</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR16" data-line-number="16" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">kind: SparkCluster</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR17" data-line-number="17" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">metadata:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR18" data-line-number="18" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> name: cluster-with-hpa</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR19" data-line-number="19" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">spec:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR20" data-line-number="20" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> runtimeVersions:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR21" data-line-number="21" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> sparkVersion: "4.0.0-preview2"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR22" data-line-number="22" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> clusterTolerations:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR23" data-line-number="23" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> instanceConfig:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR24" data-line-number="24" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> initWorkers: 3</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR25" data-line-number="25" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> minWorkers: 1</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR26" data-line-number="26" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> maxWorkers: 3</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR27" data-line-number="27" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> workerSpec:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR28" data-line-number="28" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> workerStatefulSetSpec:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR29" data-line-number="29" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> template:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR30" data-line-number="30" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> spec:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR31" data-line-number="31" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> containers:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR32" data-line-number="32" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> - name: worker</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR33" data-line-number="33" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> resources:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR34" data-line-number="34" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> requests:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR35" data-line-number="35" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> cpu: "3"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR36" data-line-number="36" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> memory: "3Gi"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR37" data-line-number="37" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> limits:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR38" data-line-number="38" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> cpu: "3"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR39" data-line-number="39" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> memory: "3Gi"</span></td> </tr> <tr class="inline-comments js-inline-comments-container js-skip-tagsearch"> <td class="line-comments p-0 p-md-2 js-line-comments js-quote-selection-container" data-quote-markdown=".js-comment-body" colspan="3"> <div class="comment-holder"> <turbo-frame id="review-thread-or-comment-id-1132659730" target="_top"> <details open="open" data-resolved="false" data-view-component="true" class="review-thread-component js-comment-container js-resolvable-timeline-thread-container Details-element details-reset mb-0 border rounded-2"> <summary hidden="hidden" role="button" data-view-component="true" class="py-2 px-3 rounded-2 color-bg-subtle"> <div class="d-flex flex-items-center"> <span class="flex-auto mr-3 d-flex flex-items-center"> </span> </div> </summary> <div data-view-component="true"> <div class="f6 py-2 px-3 border-bottom d-flex flex-justify-between"> <div class="f6 color-fg-muted"> Comment on lines <span class="js-multi-line-preview-start color-fg-success"> +27 </span> to <span class="js-multi-line-preview-end color-fg-success"> +39 </span> </div> </div> <div class="js-inline-comments-container"> <div class="js-line-comments js-suggested-changes-container js-suggested-changes-contents js-quote-selection-container" data-quote-markdown=".js-comment-body"> <div class="js-comments-holder" > <div id="r1771748386" class="timeline-comment-group js-minimizable-comment-group js-targetable-element my-0 comment previewable-edit js-task-list-container js-comment review-comment js-minimize-container unminimized-comment"> <div class="ml-n1 flex-items-center flex-row-reverse clearfix d-flex" data-morpheus-enabled="false"> <div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center"> <details class="details-overlay details-reset position-relative d-inline-block"> <summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label"><svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg></span> </span> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default" style="width:185px" src="" preload > <span data-view-component="true"> <clipboard-copy aria-label="Copy link" for="discussion_r1771748386-permalink" role="menuitem" data-view-component="true" class="dropdown-item btn-link"> Copy link </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </details-menu> </details> </div> <div class="d-none d-sm-flex"> <span aria-label="This user is a member of the apache organization." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Member</span> </span> </div> <h3 class="f5 text-normal" style="flex: 1 1 auto"> <div> <img src="https://avatars.githubusercontent.com/u/68855?s=48&v=4" alt="@viirya" size="24" height="24" width="24" data-view-component="true" class="avatar circle d-inline-block mr-2" /> <strong> <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/viirya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/viirya">viirya</a> </strong> <a href="#r1771748386" id="discussion_r1771748386-permalink" class="Link--secondary js-timestamp"><relative-time datetime="2024-09-23T16:18:47Z" class="no-wrap">Sep 23, 2024</relative-time></a> </div> </h3> </div> <div class="ml-5"> <div class="edit-comment-hide"> <div class="js-minimize-comment d-none"> <div hidden="hidden" data-view-component="true" class="js-comment-show-on-error flash flash-error flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <p>There was a problem hiding this comment.</p> </div> <div data-view-component="true" class="js-comment-hide-on-error flash flash-warn flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <h3 class="f4">Choose a reason for hiding this comment</h3> <p class="mb-3"> The reason will be displayed to describe this comment to others. <a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more</a>. </p> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-timeline-comment-minimize d-md-inline-block d-flex" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771748386/minimize" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="zDPhbso4fD66hPh1M2Gaiu7Ii0Wk7ULK4X-smMhz1T95AREvtDPctPGpoiLM-psBiX6AtbW4hOggSLvfMHhctQ" autocomplete="off" /> <select name="classifier" class="form-select mr-2" aria-label="Reason" required> <option value> Choose a reason </option> <option value="SPAM">Spam</option> <option value="ABUSE">Abuse</option> <option value="OFF_TOPIC">Off Topic</option> <option value="OUTDATED">Outdated</option> <option value="DUPLICATE">Duplicate</option> <option value="RESOLVED">Resolved</option> </select> <button type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content"> <span class="Button-label">Hide <span class="d-md-inline-block d-none">comment</span></span> </span> </button> </form> </div></div> <task-lists disabled sortable> <div class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block"> <p dir="auto">Hmm, this definition is enough for hpa? Don't we need to specify scaling behavior?</p> </div> </task-lists> </div> </div> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="mt-2 js-comment-update" data-type="json" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771748386" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="-RqVxivx9mmWtw4lDyzOCjPdinQthCk89nxHxCisl5RxLH6rRfogSa5eBgwyOpaslfr4hhdsFTFHcTboUnElPQ" autocomplete="off" /> <include-fragment loading="lazy" src="/apache/spark-kubernetes-operator/pull/135/review_comment/1771748386/edit_form?textarea_id=discussion_r1771748386-body&comment_context=diff" class="previewable-comment-form js-comment-edit-form-deferred-include-fragment" > <p class="text-center mt-3" data-hide-on-error> <span data-view-component="true"> <svg aria-label="Loading..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg></span> </p> <p class="ml-1 mb-2 mt-2" data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Sorry, something went wrong. </p> </include-fragment> </form> <div class="ml-5 edit-comment-hide"> <div data-view-component="true" class="comment-reactions js-reactions-container js-reaction-buttons-container social-reactions reactions-container d-flex"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-pick-reaction" data-turbo="false" action="/apache/spark-kubernetes-operator/reactions" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="Sz3qa3I5gJlks0yjUq7Lv-xkd0JlMQAPPB9dM5-8eRS8tolltuqN1rHksuYJxquIS1ZckhlXj-AJpHSfMDNOfQ" autocomplete="off" /> <input type="hidden" name="input[subjectId]" value="PRRC_kwDOLm_8bM5pmrwi"> <div class="js-comment-reactions-options d-flex flex-items-center flex-row flex-wrap"> <div class="js-reactions-container"> <details class="dropdown details-reset details-overlay d-inline-block js-all-reactions-popover" hidden> <summary aria-haspopup="true" data-view-component="true" class="Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label">All reactions</span> </span> </summary> <ul class="dropdown-menu dropdown-menu-se"> </ul> </details> </div> </div> </form></div> </div> </div> <div id="r1771785744" class="timeline-comment-group js-minimizable-comment-group js-targetable-element my-0 comment previewable-edit js-task-list-container js-comment review-comment js-minimize-container unminimized-comment"> <div class="ml-n1 flex-items-center flex-row-reverse clearfix d-flex" data-morpheus-enabled="false"> <div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center"> <details class="details-overlay details-reset position-relative d-inline-block"> <summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label"><svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg></span> </span> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default" style="width:185px" src="" preload > <span data-view-component="true"> <clipboard-copy aria-label="Copy link" for="discussion_r1771785744-permalink" role="menuitem" data-view-component="true" class="dropdown-item btn-link"> Copy link </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </details-menu> </details> </div> <div class="d-none d-sm-flex"> <span aria-label="This user is a member of the apache organization." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Member</span> </span> <span aria-label="This user is the author of this pull request." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Author</span> </span> </div> <h3 class="f5 text-normal" style="flex: 1 1 auto"> <div> <img src="https://avatars.githubusercontent.com/u/9700541?s=48&v=4" alt="@dongjoon-hyun" size="24" height="24" width="24" data-view-component="true" class="avatar circle d-inline-block mr-2" /> <strong> <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/dongjoon-hyun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/dongjoon-hyun">dongjoon-hyun</a> </strong> <a href="#r1771785744" id="discussion_r1771785744-permalink" class="Link--secondary js-timestamp"><relative-time datetime="2024-09-23T16:49:11Z" class="no-wrap">Sep 23, 2024</relative-time></a> </div> </h3> </div> <div class="ml-5"> <div class="edit-comment-hide"> <div class="js-minimize-comment d-none"> <div hidden="hidden" data-view-component="true" class="js-comment-show-on-error flash flash-error flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <p>There was a problem hiding this comment.</p> </div> <div data-view-component="true" class="js-comment-hide-on-error flash flash-warn flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <h3 class="f4">Choose a reason for hiding this comment</h3> <p class="mb-3"> The reason will be displayed to describe this comment to others. <a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more</a>. </p> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-timeline-comment-minimize d-md-inline-block d-flex" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771785744/minimize" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="h7g9P3k-Trwh3M1EFypMA6V-7ZqAqQL7K77PX6ww891nP3dy12otMTFM4Ao24HjnTJHB4_FuySAyKMP6__nKLA" autocomplete="off" /> <select name="classifier" class="form-select mr-2" aria-label="Reason" required> <option value> Choose a reason </option> <option value="SPAM">Spam</option> <option value="ABUSE">Abuse</option> <option value="OFF_TOPIC">Off Topic</option> <option value="OUTDATED">Outdated</option> <option value="DUPLICATE">Duplicate</option> <option value="RESOLVED">Resolved</option> </select> <button type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content"> <span class="Button-label">Hide <span class="d-md-inline-block d-none">comment</span></span> </span> </button> </form> </div></div> <task-lists disabled sortable> <div class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block"> <p dir="auto">To <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/viirya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/viirya">@viirya</a> , this is not HPA part. This is a minimum pod spec which HPA requires later.</p> <p dir="auto">Previously, the user creates HPA manually, in this PR, HPA part is hard-coded here for now. It will be revised later by allowing template.</p> <ul dir="auto"> <li><a href="https://github.com/apache/spark-kubernetes-operator/pull/135/files#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R313-R326">https://github.com/apache/spark-kubernetes-operator/pull/135/files#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R313-R326</a></li> </ul> </div> </task-lists> </div> </div> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="mt-2 js-comment-update" data-type="json" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771785744" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="URYas4CEtR2JiKJjCbLvVrH-BvqiNb6eqwYKenEySUV5Ty1u6mJ-qig0KVhx9HeNFVgLv6iWb2y4sx_KJbO7Fg" autocomplete="off" /> <include-fragment loading="lazy" src="/apache/spark-kubernetes-operator/pull/135/review_comment/1771785744/edit_form?textarea_id=discussion_r1771785744-body&comment_context=diff" class="previewable-comment-form js-comment-edit-form-deferred-include-fragment" > <p class="text-center mt-3" data-hide-on-error> <span data-view-component="true"> <svg aria-label="Loading..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg></span> </p> <p class="ml-1 mb-2 mt-2" data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Sorry, something went wrong. </p> </include-fragment> </form> <div class="ml-5 edit-comment-hide"> <div data-view-component="true" class="comment-reactions js-reactions-container js-reaction-buttons-container social-reactions reactions-container has-reactions d-flex"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-pick-reaction" data-turbo="false" action="/apache/spark-kubernetes-operator/reactions" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="j4rZ_klADvUdqtFZAzBsMLs-2rOsJF4T-clYSoV_o9N4AbrwjZMDusj9LxxYWAwHHAzxY9BC0fzMcnHmKvCUug" autocomplete="off" /> <input type="hidden" name="input[subjectId]" value="PRRC_kwDOLm_8bM5pm04Q"> <div class="js-comment-reactions-options d-flex flex-items-center flex-row flex-wrap"> <button name="input[content]" id="reactions--reaction_button_component-5c5143" value="THUMBS_UP react" data-button-index-position="0" data-reaction-label="+1" data-reaction-content="+1" aria-pressed="false" aria-label="thumbs up (1): dongjoon-hyun, 04:49PM on September 23" type="submit" disabled="disabled" data-view-component="true" class="social-reaction-summary-item js-reaction-group-button btn-link d-flex no-underline color-fg-muted flex-items-baseline mr-2"> <g-emoji alias="+1" fallback-src="https://github.githubassets.com/assets/1f44d-41cb66fe1e22.png" class="social-button-emoji">👍</g-emoji> <span class="js-discussion-reaction-group-count">1</span> </button> <tool-tip id="tooltip-7e2f02e6-3b23-4ffd-897e-3f5fdf81e739" for="reactions--reaction_button_component-5c5143" popover="manual" data-direction="n" data-type="description" data-view-component="true" class="sr-only position-absolute">viirya reacted with thumbs up emoji</tool-tip> <div class="js-reactions-container"> <details class="dropdown details-reset details-overlay d-inline-block js-all-reactions-popover" hidden> <summary aria-haspopup="true" data-view-component="true" class="Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label">All reactions</span> </span> </summary> <ul class="dropdown-menu dropdown-menu-se"> <li class="dropdown-item" aria-label="viirya reacted with thumbs up emoji"> <g-emoji alias="+1" fallback-src="https://github.githubassets.com/assets/1f44d-41cb66fe1e22.png" class="social-button-emoji mr-2">👍</g-emoji> <span>1 reaction</span> </li> </ul> </details> </div> </div> </form></div> </div> </div> <div id="r1771796527" class="timeline-comment-group js-minimizable-comment-group js-targetable-element my-0 comment previewable-edit js-task-list-container js-comment review-comment js-minimize-container unminimized-comment"> <div class="ml-n1 flex-items-center flex-row-reverse clearfix d-flex" data-morpheus-enabled="false"> <div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center"> <details class="details-overlay details-reset position-relative d-inline-block"> <summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label"><svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg></span> </span> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default" style="width:185px" src="" preload > <span data-view-component="true"> <clipboard-copy aria-label="Copy link" for="discussion_r1771796527-permalink" role="menuitem" data-view-component="true" class="dropdown-item btn-link"> Copy link </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </details-menu> </details> </div> <div class="d-none d-sm-flex"> <span aria-label="This user is a member of the apache organization." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Member</span> </span> </div> <h3 class="f5 text-normal" style="flex: 1 1 auto"> <div> <img src="https://avatars.githubusercontent.com/u/68855?s=48&v=4" alt="@viirya" size="24" height="24" width="24" data-view-component="true" class="avatar circle d-inline-block mr-2" /> <strong> <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/viirya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/viirya">viirya</a> </strong> <a href="#r1771796527" id="discussion_r1771796527-permalink" class="Link--secondary js-timestamp"><relative-time datetime="2024-09-23T16:57:49Z" class="no-wrap">Sep 23, 2024</relative-time></a> </div> </h3> </div> <div class="ml-5"> <div class="edit-comment-hide"> <div class="js-minimize-comment d-none"> <div hidden="hidden" data-view-component="true" class="js-comment-show-on-error flash flash-error flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <p>There was a problem hiding this comment.</p> </div> <div data-view-component="true" class="js-comment-hide-on-error flash flash-warn flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <h3 class="f4">Choose a reason for hiding this comment</h3> <p class="mb-3"> The reason will be displayed to describe this comment to others. <a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more</a>. </p> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-timeline-comment-minimize d-md-inline-block d-flex" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771796527/minimize" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="Gb_exl2se4Bb0yzpa3rb9KsOj_v1WDZ4zKvUiQ-zZ_R9CQuOFJDx4QjulB2UZ1D01qIdTAj1MYKqwj1zJgJhxw" autocomplete="off" /> <select name="classifier" class="form-select mr-2" aria-label="Reason" required> <option value> Choose a reason </option> <option value="SPAM">Spam</option> <option value="ABUSE">Abuse</option> <option value="OFF_TOPIC">Off Topic</option> <option value="OUTDATED">Outdated</option> <option value="DUPLICATE">Duplicate</option> <option value="RESOLVED">Resolved</option> </select> <button type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content"> <span class="Button-label">Hide <span class="d-md-inline-block d-none">comment</span></span> </span> </button> </form> </div></div> <task-lists disabled sortable> <div class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block"> <p dir="auto">Okay. Then I expect that we will add more into this example after revising later.</p> </div> </task-lists> </div> </div> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="mt-2 js-comment-update" data-type="json" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771796527" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="0a2wQiP9MxRSOOKtrxZVqY7TTCzrFDIBkAr8dHIbZVnvCEE2QBTPVecHOM4R16eSXZOkKb4ONWLwNOAWIUsOmQ" autocomplete="off" /> <include-fragment loading="lazy" src="/apache/spark-kubernetes-operator/pull/135/review_comment/1771796527/edit_form?textarea_id=discussion_r1771796527-body&comment_context=diff" class="previewable-comment-form js-comment-edit-form-deferred-include-fragment" > <p class="text-center mt-3" data-hide-on-error> <span data-view-component="true"> <svg aria-label="Loading..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg></span> </p> <p class="ml-1 mb-2 mt-2" data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Sorry, something went wrong. </p> </include-fragment> </form> <div class="ml-5 edit-comment-hide"> <div data-view-component="true" class="comment-reactions js-reactions-container js-reaction-buttons-container social-reactions reactions-container d-flex"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-pick-reaction" data-turbo="false" action="/apache/spark-kubernetes-operator/reactions" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="2prWyOSFa_NOUWJPeLH-z6CRWQbQZ9pDPAPSBASXn8wtEbXGIFZmvJsGnAoj2Z74B6Ny1qwBVawJuPuoqxiopQ" autocomplete="off" /> <input type="hidden" name="input[subjectId]" value="PRRC_kwDOLm_8bM5pm3gv"> <div class="js-comment-reactions-options d-flex flex-items-center flex-row flex-wrap"> <div class="js-reactions-container"> <details class="dropdown details-reset details-overlay d-inline-block js-all-reactions-popover" hidden> <summary aria-haspopup="true" data-view-component="true" class="Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label">All reactions</span> </span> </summary> <ul class="dropdown-menu dropdown-menu-se"> </ul> </details> </div> </div> </form></div> </div> </div> </div> </div> </div> </div> </details></turbo-frame> </div> </td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR40" data-line-number="40" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> sparkConf:</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR41" data-line-number="41" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> spark.kubernetes.container.image: "apache/spark:4.0.0-preview2-java21"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR42" data-line-number="42" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> spark.master.ui.title: "Cluster with HorizontalPodAutoscaler"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR43" data-line-number="43" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> spark.master.rest.enabled: "true"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR44" data-line-number="44" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> spark.master.rest.host: "0.0.0.0"</span></td> </tr> <tr data-hunk="5f1d2dd083990649d9776690a21c708116d369248a36b1145b226ae2b9bcf52a" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-dead58017382542e644a2580853a118f68ffc30ef65b774355e8a31842e262abR45" data-line-number="45" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> spark.ui.reverseProxy: "true"</span></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" > <div id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".java" data-file-deleted="false" data-tagsearch-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" data-tagsearch-lang="Java" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" data-short-path="8d77a27" data-anchor="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" data-file-type=".java" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/3df94c8897f92cda254653e77ed83139702d66b2?anchor=diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c&context=pull_request&diff=unified&direction=full&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Fcontext%2FSparkClusterContext.java&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 7 changes: 7 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">7 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" class="Link--primary Truncate-text" href="#diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c">spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkClusterContext.java" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" id="expand-up-link-0-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/3df94c8897f92cda254653e77ed83139702d66b2?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=19&left_hunk_size=8&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Fcontext%2FSparkClusterContext.java&pull_request_id=2085828188&right=19&right_hunk_size=11" data-left-range="1-18" data-right-range="1-18"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-659ee135-1aa6-4f52-b7c1-c473a6c1a0f1" for="expand-up-link-0-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -19,8 +19,11 @@</td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL19" data-line-number="19" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR19" data-line-number="19" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL20" data-line-number="20" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR20" data-line-number="20" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">package org.apache.spark.k8s.operator.context;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL21" data-line-number="21" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR21" data-line-number="21" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR22" data-line-number="22" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import java.util.Optional;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR23" data-line-number="23" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL22" data-line-number="22" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.Service;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL23" data-line-number="23" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.apps.StatefulSet;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR26" data-line-number="26" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscaler;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.client.KubernetesClient;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.javaoperatorsdk.operator.api.reconciler.Context;</span></td> </tr> <tr data-hunk="95dcb54cd21f4806c43d05b881f26da64b5599c97030474015d6d935f34db6eb" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR29" data-line-number="29" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import lombok.RequiredArgsConstructor;</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="12"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" id="expand-down-link-12-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" class="js-expand directional-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/3df94c8897f92cda254653e77ed83139702d66b2?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=26&last_right=29&left=74&left_hunk_size=6&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Fcontext%2FSparkClusterContext.java&pull_request_id=2085828188&right=77&right_hunk_size=10" data-left-range="27-49" data-right-range="30-52"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-9ffd8398-02ee-431f-ac60-3419d68e18a5" for="expand-down-link-12-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" id="expand-up-link-12-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" class="js-expand directional-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/3df94c8897f92cda254653e77ed83139702d66b2?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=26&last_right=29&left=74&left_hunk_size=6&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Fcontext%2FSparkClusterContext.java&pull_request_id=2085828188&right=77&right_hunk_size=10" data-left-range="50-73" data-right-range="53-76"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-35e3cf52-0880-4847-b4db-b0aa983037e6" for="expand-up-link-12-diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -74,6 +77,10 @@ public StatefulSet getWorkerStatefulSetSpec() {</td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL74" data-line-number="74" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR77" data-line-number="77" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> return getSecondaryResourceSpec().getWorkerStatefulSet();</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL75" data-line-number="75" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR78" data-line-number="78" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL76" data-line-number="76" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR79" data-line-number="79" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR80" data-line-number="80" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> public Optional<HorizontalPodAutoscaler> getHorizontalPodAutoscalerSpec() {</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR81" data-line-number="81" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> return getSecondaryResourceSpec().getHorizontalPodAutoscaler();</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR82" data-line-number="82" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR83" data-line-number="83" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL77" data-line-number="77" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR84" data-line-number="84" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> @Override</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL78" data-line-number="78" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR85" data-line-number="85" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> public KubernetesClient getClient() {</span></td> </tr> <tr data-hunk="f997c759cee51791ab3f09ddd49aa6e853a614a5368b2f2dca177b30d73e4f10" class="show-top-border"> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cL79" data-line-number="79" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84cR86" data-line-number="86" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> return josdkContext.getClient();</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" id="expand-down-link--diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/3df94c8897f92cda254653e77ed83139702d66b2?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=79&last_right=86&left=89&left_hunk_size=&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Fcontext%2FSparkClusterContext.java&pull_request_id=2085828188&right=89&right_hunk_size=" data-left-range="80-88" data-right-range="87-88"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-911ad722-b012-439a-8c9a-bdb66230281b" for="expand-down-link--diff-8d77a2757bed6f25b3698e32d90c3918629c78eb35c4c734f2cb8455f3a0c84c" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" > <div id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".java" data-file-deleted="false" data-tagsearch-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" data-tagsearch-lang="Java" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" data-short-path="3c79f81" data-anchor="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" data-file-type=".java" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/8518019ff6b52f314e3ab101d9ee5d026b6f2a17?anchor=diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851&context=pull_request&diff=unified&direction=full&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Freconciler%2FSparkClusterResourceSpecFactory.java&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 3 changes: 3 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">3 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" class="Link--primary Truncate-text" href="#diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851">...c/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkClusterResourceSpecFactory.java" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" id="expand-up-link-0-diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/8518019ff6b52f314e3ab101d9ee5d026b6f2a17?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=43&left_hunk_size=6&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Freconciler%2FSparkClusterResourceSpecFactory.java&pull_request_id=2085828188&right=43&right_hunk_size=9" data-left-range="1-42" data-right-range="1-42"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-27a1de75-1f27-4738-a3e4-029fc6345d29" for="expand-up-link-0-diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -43,6 +43,9 @@ public static SparkClusterResourceSpec buildResourceSpec(</td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851L43" data-line-number="43" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R43" data-line-number="43" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> decorator.decorate(spec.getWorkerService());</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851L44" data-line-number="44" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R44" data-line-number="44" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> decorator.decorate(spec.getMasterStatefulSet());</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851L45" data-line-number="45" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R45" data-line-number="45" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> decorator.decorate(spec.getWorkerStatefulSet());</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R46" data-line-number="46" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> if (spec.getHorizontalPodAutoscaler().isPresent()) {</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R47" data-line-number="47" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> decorator.decorate(spec.getHorizontalPodAutoscaler().get());</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R48" data-line-number="48" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851L46" data-line-number="46" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R49" data-line-number="49" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> return spec;</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851L47" data-line-number="47" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R50" data-line-number="50" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="ebc6b0fe5f842fd8958200e7621a7eaeb707728ed56175ebbbddbe8db8082af7" class="show-top-border"> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851L48" data-line-number="48" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3c79f81bffcaf73000912d0232c8a3b86d4e703669531bbbc03b2b909fffe851R51" data-line-number="51" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">}</span></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" > <div id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".java" data-file-deleted="false" data-tagsearch-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" data-tagsearch-lang="Java" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" data-short-path="9b11ff0" data-anchor="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" data-file-type=".java" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/29c8cd0c2252ecbd6c5e757e6704fdfe1fa7e3c8?anchor=diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819&context=pull_request&diff=unified&direction=full&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Freconciler%2Freconcilesteps%2FClusterInitStep.java&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 10 changes: 10 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">10 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" class="Link--primary Truncate-text" href="#diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819">...rc/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" id="expand-up-link-0-diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/29c8cd0c2252ecbd6c5e757e6704fdfe1fa7e3c8?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=68&left_hunk_size=6&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Freconciler%2Freconcilesteps%2FClusterInitStep.java&pull_request_id=2085828188&right=68&right_hunk_size=16" data-left-range="1-67" data-right-range="1-67"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-b0105106-c93e-4b5a-8e5a-59aa4a27954f" for="expand-up-link-0-diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -68,6 +68,16 @@ public ReconcileProgress reconcile(</td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819L68" data-line-number="68" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R68" data-line-number="68" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> context.getClient().apps().statefulSets().resource(masterStatefulSet).create();</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819L69" data-line-number="69" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R69" data-line-number="69" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> StatefulSet workerStatefulSet = context.getWorkerStatefulSetSpec();</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819L70" data-line-number="70" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R70" data-line-number="70" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> context.getClient().apps().statefulSets().resource(workerStatefulSet).create();</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R71" data-line-number="71" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> var horizontalPodAutoscaler = context.getHorizontalPodAutoscalerSpec();</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R72" data-line-number="72" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> if (horizontalPodAutoscaler.isPresent()) {</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R73" data-line-number="73" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> context</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R74" data-line-number="74" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .getClient()</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R75" data-line-number="75" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .autoscaling()</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R76" data-line-number="76" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .v2()</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R77" data-line-number="77" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .horizontalPodAutoscalers()</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R78" data-line-number="78" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .resource(horizontalPodAutoscaler.get())</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R79" data-line-number="79" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .create();</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R80" data-line-number="80" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819L71" data-line-number="71" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R81" data-line-number="81" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819L72" data-line-number="72" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R82" data-line-number="82" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> ClusterStatus updatedStatus =</span></td> </tr> <tr data-hunk="9cfd49b865e3456adbafd07fbc7450b741de06645040c753997640b73b65bdc0" class="show-top-border"> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819L73" data-line-number="73" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819R83" data-line-number="83" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> context</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" id="expand-down-link--diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/29c8cd0c2252ecbd6c5e757e6704fdfe1fa7e3c8?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=73&last_right=83&left=104&left_hunk_size=&mode=100644&path=spark-operator%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2Freconciler%2Freconcilesteps%2FClusterInitStep.java&pull_request_id=2085828188&right=104&right_hunk_size=" data-left-range="74-103" data-right-range="84-103"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-026d217e-b43d-44b6-8834-0ef6ab846f86" for="expand-down-link--diff-9b11ff0655d26e41a20c203c7cb57691e50f8b800d1463094aa7f23561eb5819" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" > <div id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open has-inline-notes js-tagsearch-file" data-file-type=".java" data-file-deleted="false" data-tagsearch-path="spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" data-tagsearch-lang="Java" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" data-short-path="2366f4d" data-anchor="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" data-file-type=".java" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/029d6500eba63f04f04f456c1e05be5d6e9dd403?anchor=diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2&context=pull_request&diff=unified&direction=full&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 57 changes: 57 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">57 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" class="Link--primary Truncate-text" href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2">...bmission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-up-link-0-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=22&left_hunk_size=6&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=22&right_hunk_size=7" data-left-range="1-21" data-right-range="1-21"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-835f7ac3-0555-487d-9ff3-cae6ec5bba4f" for="expand-up-link-0-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -22,6 +22,7 @@</td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L22" data-line-number="22" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R22" data-line-number="22" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import static org.apache.spark.k8s.operator.Constants.*;</span></td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L23" data-line-number="23" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R23" data-line-number="23" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import java.util.Collections;</span></td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R25" data-line-number="25" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import java.util.Optional;</span></td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import scala.Tuple2;</span></td> </tr> <tr data-hunk="36c56fea89bc8646ddfe1a93024bec0b03077ccbcde4ed402de0ffeecf73db3d" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="8"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-link-8-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&in_wiki_context=&last_left=27&last_right=28&left=32&left_hunk_size=6&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=33&right_hunk_size=9" data-left-range="28-28" data-right-range="29-29"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-0174f841-2116-4d20-9712-35cb1678e45f" for="expand-link-8-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -32,6 +33,9 @@</td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L32" data-line-number="32" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R33" data-line-number="33" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.apps.StatefulSet;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L33" data-line-number="33" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R34" data-line-number="34" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.apps.StatefulSetBuilder;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L34" data-line-number="34" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R35" data-line-number="35" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.apps.StatefulSetSpec;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R36" data-line-number="36" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscaler;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R37" data-line-number="37" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscalerBuilder;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R38" data-line-number="38" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import io.fabric8.kubernetes.api.model.autoscaling.v2.MetricSpecBuilder;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L35" data-line-number="35" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R39" data-line-number="39" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import lombok.Getter;</span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L36" data-line-number="36" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R40" data-line-number="40" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="5cd2009de02e5e2a51aa8ae67b2899584b850cc599b058c5de84bfd57e90f92c" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L37" data-line-number="37" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R41" data-line-number="41" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import org.apache.spark.SparkConf;</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="18"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-link-18-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&in_wiki_context=&last_left=37&last_right=41&left=46&left_hunk_size=6&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=50&right_hunk_size=7" data-left-range="38-40" data-right-range="42-44"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-e8e88f2c-93ae-4b8b-8b12-83d7772b58b2" for="expand-link-18-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -46,6 +50,7 @@ public class SparkClusterResourceSpec {</td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L46" data-line-number="46" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R50" data-line-number="50" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> @Getter private final Service workerService;</span></td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L47" data-line-number="47" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R51" data-line-number="51" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> @Getter private final StatefulSet masterStatefulSet;</span></td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L48" data-line-number="48" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R52" data-line-number="52" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> @Getter private final StatefulSet workerStatefulSet;</span></td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R53" data-line-number="53" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> @Getter private final Optional<HorizontalPodAutoscaler> horizontalPodAutoscaler;</span></td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L49" data-line-number="49" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R54" data-line-number="54" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L50" data-line-number="50" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R55" data-line-number="55" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> public SparkClusterResourceSpec(SparkCluster cluster, SparkConf conf) {</span></td> </tr> <tr data-hunk="45ee7f92459564e42ba997331c666e5f43f208fe7c89b717acad65c56e67db82" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L51" data-line-number="51" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R56" data-line-number="56" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> String clusterNamespace = cluster.getMetadata().getNamespace();</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="26"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-down-link-26-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=51&last_right=56&left=91&left_hunk_size=6&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=96&right_hunk_size=7" data-left-range="52-70" data-right-range="57-75"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-4501456b-b61e-4087-83fb-3d25ed9170e2" for="expand-down-link-26-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-up-link-26-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=51&last_right=56&left=91&left_hunk_size=6&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=96&right_hunk_size=7" data-left-range="71-90" data-right-range="76-95"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-b6eb346b-ed2d-4a9b-b593-cffb229fd2d2" for="expand-up-link-26-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -91,6 +96,7 @@ public SparkClusterResourceSpec(SparkCluster cluster, SparkConf conf) {</td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L91" data-line-number="91" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R96" data-line-number="96" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> options.toString(),</span></td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L92" data-line-number="92" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R97" data-line-number="97" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> workerSpec.getWorkerStatefulSetMetadata(),</span></td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L93" data-line-number="93" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R98" data-line-number="98" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> workerSpec.getWorkerStatefulSetSpec());</span></td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R99" data-line-number="99" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> horizontalPodAutoscaler = buildHorizontalPodAutoscaler(clusterName, namespace, spec);</span></td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L94" data-line-number="94" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R100" data-line-number="100" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L95" data-line-number="95" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R101" data-line-number="101" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="88a0e7de15a087e05ad1f04ec504f6c9366173ecebe71eb72c8c1b74c75ccdb5" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L96" data-line-number="96" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R102" data-line-number="102" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> private static Service buildMasterService(</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="34"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-down-link-34-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=96&last_right=102&left=271&left_hunk_size=4&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=277&right_hunk_size=55" data-left-range="97-182" data-right-range="103-188"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-0afad8ac-af91-4c79-9612-8aecf1dfa70d" for="expand-down-link-34-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" id="expand-up-link-34-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" class="js-expand directional-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/029d6500eba63f04f04f456c1e05be5d6e9dd403?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=96&last_right=102&left=271&left_hunk_size=4&mode=100644&path=spark-submission-worker%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpec.java&pull_request_id=2085828188&right=277&right_hunk_size=55" data-left-range="183-270" data-right-range="189-276"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-2b357326-a91a-4d77-a18b-7f74c8d1620f" for="expand-up-link-34-diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -271,4 +277,55 @@ private static StatefulSet buildWorkerStatefulSet(</td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L271" data-line-number="271" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R277" data-line-number="277" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> .endSpec()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L272" data-line-number="272" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R278" data-line-number="278" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> .build();</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L273" data-line-number="273" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R279" data-line-number="279" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R280" data-line-number="280" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R281" data-line-number="281" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> private static Optional<HorizontalPodAutoscaler> buildHorizontalPodAutoscaler(</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R282" data-line-number="282" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> String clusterName, String namespace, ClusterSpec spec) {</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R283" data-line-number="283" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> var instanceConfig = spec.getClusterTolerations().getInstanceConfig();</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R284" data-line-number="284" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> if (instanceConfig.getMinWorkers() >= instanceConfig.getMaxWorkers()) {</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R285" data-line-number="285" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> return Optional.empty();</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R286" data-line-number="286" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R287" data-line-number="287" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> return Optional.of(</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R288" data-line-number="288" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> new HorizontalPodAutoscalerBuilder()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R289" data-line-number="289" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewMetadata()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R290" data-line-number="290" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNamespace(namespace)</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R291" data-line-number="291" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withName(clusterName + "-worker-hpa")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R292" data-line-number="292" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endMetadata()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R293" data-line-number="293" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewSpec()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R294" data-line-number="294" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewScaleTargetRef()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R295" data-line-number="295" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withApiVersion("apps/v1")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R296" data-line-number="296" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withKind("StatefulSet")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R297" data-line-number="297" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withName(clusterName + "-worker")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R298" data-line-number="298" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endScaleTargetRef()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R299" data-line-number="299" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withMinReplicas(instanceConfig.getMinWorkers())</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R300" data-line-number="300" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withMaxReplicas(instanceConfig.getMaxWorkers())</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R301" data-line-number="301" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .addToMetrics(</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R302" data-line-number="302" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> new MetricSpecBuilder()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R303" data-line-number="303" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withType("Resource")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R304" data-line-number="304" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewResource()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R305" data-line-number="305" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withName("cpu")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R306" data-line-number="306" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewTarget()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R307" data-line-number="307" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withType("Utilization")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R308" data-line-number="308" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withAverageUtilization(30)</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R309" data-line-number="309" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endTarget()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R310" data-line-number="310" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endResource()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R311" data-line-number="311" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .build())</span></td> </tr> <tr class="inline-comments js-inline-comments-container js-skip-tagsearch"> <td class="line-comments p-0 p-md-2 js-line-comments js-quote-selection-container" data-quote-markdown=".js-comment-body" colspan="3"> <div class="comment-holder"> <turbo-frame id="review-thread-or-comment-id-1132682269" target="_top"> <details open="open" data-resolved="false" data-view-component="true" class="review-thread-component js-comment-container js-resolvable-timeline-thread-container Details-element details-reset mb-0 border rounded-2"> <summary hidden="hidden" role="button" data-view-component="true" class="py-2 px-3 rounded-2 color-bg-subtle"> <div class="d-flex flex-items-center"> <span class="flex-auto mr-3 d-flex flex-items-center"> </span> </div> </summary> <div data-view-component="true"> <div class="f6 py-2 px-3 border-bottom d-flex flex-justify-between"> <div class="f6 color-fg-muted"> Comment on lines <span class="js-multi-line-preview-start color-fg-success"> +302 </span> to <span class="js-multi-line-preview-end color-fg-success"> +311 </span> </div> </div> <div class="js-inline-comments-container"> <div class="js-line-comments js-suggested-changes-container js-suggested-changes-contents js-quote-selection-container" data-quote-markdown=".js-comment-body"> <div class="js-comments-holder" > <div id="r1771782664" class="timeline-comment-group js-minimizable-comment-group js-targetable-element my-0 comment previewable-edit js-task-list-container js-comment review-comment js-minimize-container unminimized-comment"> <div class="ml-n1 flex-items-center flex-row-reverse clearfix d-flex" data-morpheus-enabled="false"> <div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center"> <details class="details-overlay details-reset position-relative d-inline-block"> <summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label"><svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg></span> </span> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default" style="width:185px" src="" preload > <span data-view-component="true"> <clipboard-copy aria-label="Copy link" for="discussion_r1771782664-permalink" role="menuitem" data-view-component="true" class="dropdown-item btn-link"> Copy link </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </details-menu> </details> </div> <div class="d-none d-sm-flex"> <span aria-label="This user is a member of the apache organization." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Member</span> </span> </div> <h3 class="f5 text-normal" style="flex: 1 1 auto"> <div> <img src="https://avatars.githubusercontent.com/u/68855?s=48&v=4" alt="@viirya" size="24" height="24" width="24" data-view-component="true" class="avatar circle d-inline-block mr-2" /> <strong> <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/viirya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/viirya">viirya</a> </strong> <a href="#r1771782664" id="discussion_r1771782664-permalink" class="Link--secondary js-timestamp"><relative-time datetime="2024-09-23T16:46:36Z" class="no-wrap">Sep 23, 2024</relative-time></a> </div> </h3> </div> <div class="ml-5"> <div class="edit-comment-hide"> <div class="js-minimize-comment d-none"> <div hidden="hidden" data-view-component="true" class="js-comment-show-on-error flash flash-error flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <p>There was a problem hiding this comment.</p> </div> <div data-view-component="true" class="js-comment-hide-on-error flash flash-warn flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <h3 class="f4">Choose a reason for hiding this comment</h3> <p class="mb-3"> The reason will be displayed to describe this comment to others. <a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more</a>. </p> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-timeline-comment-minimize d-md-inline-block d-flex" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771782664/minimize" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="vtvDQm0hCSxdEl58UDeHDXG6qB2J00SKFIjO3jAeXFIqluBygEqLSl5rmwjtxsHIqDba8ucfzGWTrx0xO73LFw" autocomplete="off" /> <select name="classifier" class="form-select mr-2" aria-label="Reason" required> <option value> Choose a reason </option> <option value="SPAM">Spam</option> <option value="ABUSE">Abuse</option> <option value="OFF_TOPIC">Off Topic</option> <option value="OUTDATED">Outdated</option> <option value="DUPLICATE">Duplicate</option> <option value="RESOLVED">Resolved</option> </select> <button type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content"> <span class="Button-label">Hide <span class="d-md-inline-block d-none">comment</span></span> </span> </button> </form> </div></div> <task-lists disabled sortable> <div class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block"> <p dir="auto">Can these configs like resource and average utilization to be specify in cluster yaml file instead hard-coded?</p> </div> </task-lists> </div> </div> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="mt-2 js-comment-update" data-type="json" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771782664" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="zP4g2_Nmh9QWgFh5YDXtAYXXSh9Uq990aBW9bWUu3vdU-MFVatSHHBtnSFdWz0in9T5V8d0JfEWYgYPEuUtGMA" autocomplete="off" /> <include-fragment loading="lazy" src="/apache/spark-kubernetes-operator/pull/135/review_comment/1771782664/edit_form?textarea_id=discussion_r1771782664-body&comment_context=diff" class="previewable-comment-form js-comment-edit-form-deferred-include-fragment" > <p class="text-center mt-3" data-hide-on-error> <span data-view-component="true"> <svg aria-label="Loading..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg></span> </p> <p class="ml-1 mb-2 mt-2" data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Sorry, something went wrong. </p> </include-fragment> </form> <div class="ml-5 edit-comment-hide"> <div data-view-component="true" class="comment-reactions js-reactions-container js-reaction-buttons-container social-reactions reactions-container d-flex"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-pick-reaction" data-turbo="false" action="/apache/spark-kubernetes-operator/reactions" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="QhATM-BfQd8BdE65WBA_uXy6RjWHOcq8dYI28PEqjvW1m3A9JIxMkNQjsPwDeF-O24ht5ftfRVNAOR9cXqW5nA" autocomplete="off" /> <input type="hidden" name="input[subjectId]" value="PRRC_kwDOLm_8bM5pm0II"> <div class="js-comment-reactions-options d-flex flex-items-center flex-row flex-wrap"> <div class="js-reactions-container"> <details class="dropdown details-reset details-overlay d-inline-block js-all-reactions-popover" hidden> <summary aria-haspopup="true" data-view-component="true" class="Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label">All reactions</span> </span> </summary> <ul class="dropdown-menu dropdown-menu-se"> </ul> </details> </div> </div> </form></div> </div> </div> <div id="r1771786601" class="timeline-comment-group js-minimizable-comment-group js-targetable-element my-0 comment previewable-edit js-task-list-container js-comment review-comment js-minimize-container unminimized-comment"> <div class="ml-n1 flex-items-center flex-row-reverse clearfix d-flex" data-morpheus-enabled="false"> <div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center"> <details class="details-overlay details-reset position-relative d-inline-block"> <summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label"><svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg></span> </span> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default" style="width:185px" src="" preload > <span data-view-component="true"> <clipboard-copy aria-label="Copy link" for="discussion_r1771786601-permalink" role="menuitem" data-view-component="true" class="dropdown-item btn-link"> Copy link </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </details-menu> </details> </div> <div class="d-none d-sm-flex"> <span aria-label="This user is a member of the apache organization." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Member</span> </span> <span aria-label="This user is the author of this pull request." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Author</span> </span> </div> <h3 class="f5 text-normal" style="flex: 1 1 auto"> <div> <img src="https://avatars.githubusercontent.com/u/9700541?s=48&v=4" alt="@dongjoon-hyun" size="24" height="24" width="24" data-view-component="true" class="avatar circle d-inline-block mr-2" /> <strong> <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/dongjoon-hyun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/dongjoon-hyun">dongjoon-hyun</a> </strong> <a href="#r1771786601" id="discussion_r1771786601-permalink" class="Link--secondary js-timestamp"><relative-time datetime="2024-09-23T16:49:49Z" class="no-wrap">Sep 23, 2024</relative-time></a> </div> </h3> </div> <div class="ml-5"> <div class="edit-comment-hide"> <div class="js-minimize-comment d-none"> <div hidden="hidden" data-view-component="true" class="js-comment-show-on-error flash flash-error flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <p>There was a problem hiding this comment.</p> </div> <div data-view-component="true" class="js-comment-hide-on-error flash flash-warn flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <h3 class="f4">Choose a reason for hiding this comment</h3> <p class="mb-3"> The reason will be displayed to describe this comment to others. <a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more</a>. </p> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-timeline-comment-minimize d-md-inline-block d-flex" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771786601/minimize" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="cTrJJHOtDSyb6b5Cfr0V8Vy9qY5xH2AmU4RW8E_4ZmzyDDCOt0WXrnjUoU_tjTI8ee-q32ayj4beGQySrxMjPg" autocomplete="off" /> <select name="classifier" class="form-select mr-2" aria-label="Reason" required> <option value> Choose a reason </option> <option value="SPAM">Spam</option> <option value="ABUSE">Abuse</option> <option value="OFF_TOPIC">Off Topic</option> <option value="OUTDATED">Outdated</option> <option value="DUPLICATE">Duplicate</option> <option value="RESOLVED">Resolved</option> </select> <button type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content"> <span class="Button-label">Hide <span class="d-md-inline-block d-none">comment</span></span> </span> </button> </form> </div></div> <task-lists disabled sortable> <div class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block"> <p dir="auto">Ya, template support is the next step, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/viirya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/viirya">@viirya</a> .</p> </div> </task-lists> </div> </div> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="mt-2 js-comment-update" data-type="json" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771786601" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="qCpMHCp8LKQpxWVeR9x55xI4tFHx2f28KtmqA9FioAqWNL9cTLEFBJTOLnFva7TikFHcSM20ys7Sj8RLws3egw" autocomplete="off" /> <include-fragment loading="lazy" src="/apache/spark-kubernetes-operator/pull/135/review_comment/1771786601/edit_form?textarea_id=discussion_r1771786601-body&comment_context=diff" class="previewable-comment-form js-comment-edit-form-deferred-include-fragment" > <p class="text-center mt-3" data-hide-on-error> <span data-view-component="true"> <svg aria-label="Loading..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg></span> </p> <p class="ml-1 mb-2 mt-2" data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Sorry, something went wrong. </p> </include-fragment> </form> <div class="ml-5 edit-comment-hide"> <div data-view-component="true" class="comment-reactions js-reactions-container js-reaction-buttons-container social-reactions reactions-container has-reactions d-flex"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-pick-reaction" data-turbo="false" action="/apache/spark-kubernetes-operator/reactions" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="o2JW_FTXG5DnM0owWh1JDycKrYPrUv6DKyG8AQ3DgllU6TXykAQW3zJktHUBdSk4gDiGU5c0cWwempWtoky1MA" autocomplete="off" /> <input type="hidden" name="input[subjectId]" value="PRRC_kwDOLm_8bM5pm1Fp"> <div class="js-comment-reactions-options d-flex flex-items-center flex-row flex-wrap"> <button name="input[content]" id="reactions--reaction_button_component-155501" value="THUMBS_UP react" data-button-index-position="0" data-reaction-label="+1" data-reaction-content="+1" aria-pressed="false" aria-label="thumbs up (1): dongjoon-hyun, 04:49PM on September 23" type="submit" disabled="disabled" data-view-component="true" class="social-reaction-summary-item js-reaction-group-button btn-link d-flex no-underline color-fg-muted flex-items-baseline mr-2"> <g-emoji alias="+1" fallback-src="https://github.githubassets.com/assets/1f44d-41cb66fe1e22.png" class="social-button-emoji">👍</g-emoji> <span class="js-discussion-reaction-group-count">1</span> </button> <tool-tip id="tooltip-f0900152-022b-479e-a6f3-3bf3ce114286" for="reactions--reaction_button_component-155501" popover="manual" data-direction="n" data-type="description" data-view-component="true" class="sr-only position-absolute">viirya reacted with thumbs up emoji</tool-tip> <div class="js-reactions-container"> <details class="dropdown details-reset details-overlay d-inline-block js-all-reactions-popover" hidden> <summary aria-haspopup="true" data-view-component="true" class="Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label">All reactions</span> </span> </summary> <ul class="dropdown-menu dropdown-menu-se"> <li class="dropdown-item" aria-label="viirya reacted with thumbs up emoji"> <g-emoji alias="+1" fallback-src="https://github.githubassets.com/assets/1f44d-41cb66fe1e22.png" class="social-button-emoji mr-2">👍</g-emoji> <span>1 reaction</span> </li> </ul> </details> </div> </div> </form></div> </div> </div> <div id="r1771795002" class="timeline-comment-group js-minimizable-comment-group js-targetable-element my-0 comment previewable-edit js-task-list-container js-comment review-comment js-minimize-container unminimized-comment"> <div class="ml-n1 flex-items-center flex-row-reverse clearfix d-flex" data-morpheus-enabled="false"> <div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center"> <details class="details-overlay details-reset position-relative d-inline-block"> <summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label"><svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg></span> </span> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default" style="width:185px" src="" preload > <span data-view-component="true"> <clipboard-copy aria-label="Copy link" for="discussion_r1771795002-permalink" role="menuitem" data-view-component="true" class="dropdown-item btn-link"> Copy link </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </details-menu> </details> </div> <div class="d-none d-sm-flex"> <span aria-label="This user is a member of the apache organization." data-view-component="true" class="tooltipped tooltipped-n"> <span data-view-component="true" class="Label ml-1">Member</span> </span> </div> <h3 class="f5 text-normal" style="flex: 1 1 auto"> <div> <img src="https://avatars.githubusercontent.com/u/68855?s=48&v=4" alt="@viirya" size="24" height="24" width="24" data-view-component="true" class="avatar circle d-inline-block mr-2" /> <strong> <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/viirya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/viirya">viirya</a> </strong> <a href="#r1771795002" id="discussion_r1771795002-permalink" class="Link--secondary js-timestamp"><relative-time datetime="2024-09-23T16:56:39Z" class="no-wrap">Sep 23, 2024</relative-time></a> </div> </h3> </div> <div class="ml-5"> <div class="edit-comment-hide"> <div class="js-minimize-comment d-none"> <div hidden="hidden" data-view-component="true" class="js-comment-show-on-error flash flash-error flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <p>There was a problem hiding this comment.</p> </div> <div data-view-component="true" class="js-comment-hide-on-error flash flash-warn flash-full"> <button class="flash-close js-comment-hide-minimize-form" type="button"> <svg aria-label="Cancel hiding comment" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <h3 class="f4">Choose a reason for hiding this comment</h3> <p class="mb-3"> The reason will be displayed to describe this comment to others. <a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more</a>. </p> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-timeline-comment-minimize d-md-inline-block d-flex" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771795002/minimize" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="5Htnp5v6rkFPotRuKG197i9uJieFadfO8f808NvNl0ItYkzZuCZmIdyZlOGnqENzYoM8yoW4U0G0FWzmGbMcSg" autocomplete="off" /> <select name="classifier" class="form-select mr-2" aria-label="Reason" required> <option value> Choose a reason </option> <option value="SPAM">Spam</option> <option value="ABUSE">Abuse</option> <option value="OFF_TOPIC">Off Topic</option> <option value="OUTDATED">Outdated</option> <option value="DUPLICATE">Duplicate</option> <option value="RESOLVED">Resolved</option> </select> <button type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content"> <span class="Button-label">Hide <span class="d-md-inline-block d-none">comment</span></span> </span> </button> </form> </div></div> <task-lists disabled sortable> <div class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block"> <p dir="auto">Okay. Looking forward to the next steps. Thanks.</p> </div> </task-lists> </div> </div> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="mt-2 js-comment-update" data-type="json" data-turbo="false" action="/apache/spark-kubernetes-operator/pull/135/review_comment/1771795002" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="uRTAUeJK4VBbDzSclwY2pCdGeHnfxr6gGZTODUASxgQtOOuzbhRxFSU8KaVzCR1uJJYIMANLzJTgS8_Y__Ul9g" autocomplete="off" /> <include-fragment loading="lazy" src="/apache/spark-kubernetes-operator/pull/135/review_comment/1771795002/edit_form?textarea_id=discussion_r1771795002-body&comment_context=diff" class="previewable-comment-form js-comment-edit-form-deferred-include-fragment" > <p class="text-center mt-3" data-hide-on-error> <span data-view-component="true"> <svg aria-label="Loading..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg></span> </p> <p class="ml-1 mb-2 mt-2" data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Sorry, something went wrong. </p> </include-fragment> </form> <div class="ml-5 edit-comment-hide"> <div data-view-component="true" class="comment-reactions js-reactions-container js-reaction-buttons-container social-reactions reactions-container d-flex"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-pick-reaction" data-turbo="false" action="/apache/spark-kubernetes-operator/reactions" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="vnSVZNBFlT0hozwgvmBSkaSOSdsL5QU6PDuL4KOK9GBJ__ZqFJaYcvT0wmXlCDKmA7xiC3eDitUJgKJMDAXDCQ" autocomplete="off" /> <input type="hidden" name="input[subjectId]" value="PRRC_kwDOLm_8bM5pm3I6"> <div class="js-comment-reactions-options d-flex flex-items-center flex-row flex-wrap"> <div class="js-reactions-container"> <details class="dropdown details-reset details-overlay d-inline-block js-all-reactions-popover" hidden> <summary aria-haspopup="true" data-view-component="true" class="Button--link Button--medium Button"> <span class="Button-content"> <span class="Button-label">All reactions</span> </span> </summary> <ul class="dropdown-menu dropdown-menu-se"> </ul> </details> </div> </div> </form></div> </div> </div> </div> </div> </div> </div> </details></turbo-frame> </div> </td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R312" data-line-number="312" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewBehavior()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R313" data-line-number="313" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewScaleUp()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R314" data-line-number="314" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .addNewPolicy()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R315" data-line-number="315" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withType("Pods")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R316" data-line-number="316" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withValue(1)</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R317" data-line-number="317" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withPeriodSeconds(60)</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R318" data-line-number="318" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endPolicy()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R319" data-line-number="319" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endScaleUp()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R320" data-line-number="320" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withNewScaleDown()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R321" data-line-number="321" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .addNewPolicy()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R322" data-line-number="322" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withType("Pods")</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R323" data-line-number="323" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withValue(1)</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R324" data-line-number="324" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .withPeriodSeconds(600)</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R325" data-line-number="325" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endPolicy()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R326" data-line-number="326" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endScaleDown()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R327" data-line-number="327" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endBehavior()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R328" data-line-number="328" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .endSpec()</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R329" data-line-number="329" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> .build());</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R330" data-line-number="330" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="a200d99957494983553aca68dffec562a133b6ca8610d4436f1323dc6c14f993" class="show-top-border"> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2L274" data-line-number="274" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-2366f4d987646a8a1cd7d555ab69d582f647bfd86c3fdc773506f6e2743b3da2R331" data-line-number="331" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">}</span></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" > <div id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".java" data-file-deleted="false" data-tagsearch-path="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" data-tagsearch-lang="Java" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" data-short-path="ee32eda" data-anchor="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" data-file-type=".java" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/e013db7fb9b7963e4567261e4dc13471635932aa?anchor=diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222&context=pull_request&diff=unified&direction=full&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpecTest.java&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 31 changes: 31 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">31 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" class="Link--primary Truncate-text" href="#diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222">...sion-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterResourceSpecTest.java" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" id="expand-up-link-0-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/e013db7fb9b7963e4567261e4dc13471635932aa?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=20&left_hunk_size=9&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpecTest.java&pull_request_id=2085828188&right=20&right_hunk_size=12" data-left-range="1-19" data-right-range="1-19"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-cc55467d-45c8-4f51-bb18-f2614b7b9dee" for="expand-up-link-0-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -20,9 +20,12 @@</td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L20" data-line-number="20" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R20" data-line-number="20" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">package org.apache.spark.k8s.operator;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L21" data-line-number="21" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R21" data-line-number="21" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L22" data-line-number="22" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R22" data-line-number="22" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import static org.junit.jupiter.api.Assertions.assertEquals;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R23" data-line-number="23" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import static org.junit.jupiter.api.Assertions.assertTrue;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L23" data-line-number="23" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import static org.mockito.Mockito.mock;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import static org.mockito.Mockito.when;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R27" data-line-number="27" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import java.util.Optional;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R28" data-line-number="28" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R29" data-line-number="29" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.ObjectMeta;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R30" data-line-number="30" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.ObjectMetaBuilder;</span></td> </tr> <tr data-hunk="3a4b804e0ec9122d86d817ae38c9e3e33abbac9862cb81d60a53d7cf662a7e17" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R31" data-line-number="31" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import io.fabric8.kubernetes.api.model.Service;</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="13"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" id="expand-link-13-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/apache/spark-kubernetes-operator/blob_excerpt/e013db7fb9b7963e4567261e4dc13471635932aa?context=pull_request&diff=unified&in_wiki_context=&last_left=28&last_right=31&left=38&left_hunk_size=6&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpecTest.java&pull_request_id=2085828188&right=41&right_hunk_size=7" data-left-range="29-32" data-right-range="32-35"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-a0f7087d-3054-40a3-8487-f202dc52e637" for="expand-link-13-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -38,6 +41,7 @@</td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L38" data-line-number="38" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R41" data-line-number="41" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import org.apache.spark.k8s.operator.spec.ClusterSpec;</span></td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L39" data-line-number="39" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R42" data-line-number="42" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import org.apache.spark.k8s.operator.spec.ClusterTolerations;</span></td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L40" data-line-number="40" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R43" data-line-number="43" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import org.apache.spark.k8s.operator.spec.MasterSpec;</span></td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R44" data-line-number="44" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+">import org.apache.spark.k8s.operator.spec.WorkerInstanceConfig;</span></td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L41" data-line-number="41" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R45" data-line-number="45" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">import org.apache.spark.k8s.operator.spec.WorkerSpec;</span></td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L42" data-line-number="42" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R46" data-line-number="46" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="3e8bc8916dd80a6c95a7dd88ee9111636d5bd36d387e38469f32b911072b161b" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L43" data-line-number="43" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R47" data-line-number="47" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">class SparkClusterResourceSpecTest {</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="21"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" id="expand-down-link-21-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" class="js-expand directional-expander" aria-label="Expand Down" data-url="/apache/spark-kubernetes-operator/blob_excerpt/e013db7fb9b7963e4567261e4dc13471635932aa?context=pull_request&diff=unified&direction=down&in_wiki_context=&last_left=43&last_right=47&left=227&left_hunk_size=4&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpecTest.java&pull_request_id=2085828188&right=231&right_hunk_size=31" data-left-range="44-134" data-right-range="48-138"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-70bfdec1-18e3-4886-bab1-6a7d80669e5a" for="expand-down-link-21-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" id="expand-up-link-21-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" class="js-expand directional-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/e013db7fb9b7963e4567261e4dc13471635932aa?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=43&last_right=47&left=227&left_hunk_size=4&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterResourceSpecTest.java&pull_request_id=2085828188&right=231&right_hunk_size=31" data-left-range="135-226" data-right-range="139-230"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-a4a6fab5-c853-4c27-b0d5-98f91ab497c6" for="expand-up-link-21-diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -227,4 +231,31 @@ void testWorkerStatefulSetWithTemplate() {</td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L227" data-line-number="227" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R231" data-line-number="231" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> assertEquals("my-namespace", statefulSet.getMetadata().getNamespace());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L228" data-line-number="228" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R232" data-line-number="232" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> assertEquals("cluster-name-worker", statefulSet.getMetadata().getName());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L229" data-line-number="229" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R233" data-line-number="233" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R234" data-line-number="234" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R235" data-line-number="235" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> @Test</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R236" data-line-number="236" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> void testEmptyHorizontalPodAutoscalerByDefault() {</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R237" data-line-number="237" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> SparkClusterResourceSpec spec = new SparkClusterResourceSpec(cluster, new SparkConf());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R238" data-line-number="238" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals(Optional.empty(), spec.getHorizontalPodAutoscaler());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R239" data-line-number="239" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R240" data-line-number="240" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R241" data-line-number="241" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> @Test</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R242" data-line-number="242" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> void testHorizontalPodAutoscaler() {</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R243" data-line-number="243" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> var instanceConfig = new WorkerInstanceConfig();</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R244" data-line-number="244" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> instanceConfig.setInitWorkers(1);</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R245" data-line-number="245" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> instanceConfig.setMinWorkers(1);</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R246" data-line-number="246" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> instanceConfig.setMaxWorkers(3);</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R247" data-line-number="247" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> var clusterTolerations = new ClusterTolerations();</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R248" data-line-number="248" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> clusterTolerations.setInstanceConfig(instanceConfig);</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R249" data-line-number="249" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> when(clusterSpec.getClusterTolerations()).thenReturn(clusterTolerations);</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R250" data-line-number="250" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R251" data-line-number="251" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> SparkClusterResourceSpec spec = new SparkClusterResourceSpec(cluster, new SparkConf());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R252" data-line-number="252" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertTrue(spec.getHorizontalPodAutoscaler().isPresent());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R253" data-line-number="253" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> var hpa = spec.getHorizontalPodAutoscaler().get();</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R254" data-line-number="254" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals("autoscaling/v2", hpa.getApiVersion());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R255" data-line-number="255" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals("HorizontalPodAutoscaler", hpa.getKind());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R256" data-line-number="256" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals("my-namespace", hpa.getMetadata().getNamespace());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R257" data-line-number="257" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals("cluster-name-worker-hpa", hpa.getMetadata().getName());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R258" data-line-number="258" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals(1, hpa.getSpec().getMinReplicas());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R259" data-line-number="259" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertEquals(3, hpa.getSpec().getMaxReplicas());</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R260" data-line-number="260" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="235ff00b82fa246e51de258cf81d776c5bb46a683791450330e9bbd106a59abd" class="show-top-border"> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222L230" data-line-number="230" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ee32edab58ddb1ea8e0dc583422c26f4229b3023742c2a94ea9fc21d8dc71222R261" data-line-number="261" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">}</span></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" > <div id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".java" data-file-deleted="false" data-tagsearch-path="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" data-tagsearch-lang="Java" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch sticky-file-header" data-path="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" data-short-path="b4c8808" data-anchor="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" data-file-type=".java" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/apache/spark-kubernetes-operator/blob_expand/3852d3a347811262c7f48f72d0a0c96af2a4d1b3?anchor=diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7&context=pull_request&diff=unified&direction=full&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterSubmissionWorkerTest.java&pull_request_id=2085828188" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 1 change: 1 addition & 0 deletions </span> <span class="diffstat" aria-hidden="true">1 <span class="diffstat-block-added"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" class="Link--primary Truncate-text" href="#diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7">...-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/dongjoon-hyun/spark-kubernetes-operator/blob/1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf/spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> <a class="pl-5 dropdown-item btn-link js-remove-unless-platform" data-platforms="windows,mac" role="menuitem" href="https://desktop.github.com" aria-label="Open this file in GitHub Desktop" data-analytics-event="{"category":"Repository","action":"open with desktop","label":"pull_request_id:2085828188"}"> Open in desktop </a> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":2085828188,"repository_id":779091052,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/apache/spark-kubernetes-operator/pull/135/files","user_id":null}}" data-hydro-view-hmac="f0c67b0bd162865c9fa23fc81291bef490cfd71879a50b6b69873067dcb4c476"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <deferred-diff-lines class="awaiting-highlight" data-url="/apache/spark-kubernetes-operator/diffs/4aaae715ff784f64c2f35379254255ffbb8dc384..1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf?base_sha=4aaae715ff784f64c2f35379254255ffbb8dc384&whitespace_ignored=false"> <input type="hidden" name="path" value="spark-submission-worker/src/test/java/org/apache/spark/k8s/operator/SparkClusterSubmissionWorkerTest.java" data-targets="deferred-diff-lines.inputs" autocomplete="off" /> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" id="expand-up-link-0-diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/apache/spark-kubernetes-operator/blob_excerpt/3852d3a347811262c7f48f72d0a0c96af2a4d1b3?context=pull_request&diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=65&left_hunk_size=5&mode=100644&path=spark-submission-worker%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fspark%2Fk8s%2Foperator%2FSparkClusterSubmissionWorkerTest.java&pull_request_id=2085828188&right=65&right_hunk_size=6" data-left-range="1-64" data-right-range="1-64"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-4ffa455e-d86a-4443-bf3c-d481cc0b5906" for="expand-up-link-0-diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -65,5 +65,6 @@ void testGetResourceSpec() {</td> </tr> <tr data-hunk="3909d8532f3f598899757209d9730fe425ae1c0db25aff11a17c93940df53ff8" class="show-top-border"> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7L65" data-line-number="65" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7R65" data-line-number="65" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> assertNotNull(spec.getMasterService());</span></td> </tr> <tr data-hunk="3909d8532f3f598899757209d9730fe425ae1c0db25aff11a17c93940df53ff8" class="show-top-border"> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7L66" data-line-number="66" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7R66" data-line-number="66" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> assertNotNull(spec.getMasterStatefulSet());</span></td> </tr> <tr data-hunk="3909d8532f3f598899757209d9730fe425ae1c0db25aff11a17c93940df53ff8" class="show-top-border"> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7L67" data-line-number="67" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7R67" data-line-number="67" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> assertNotNull(spec.getWorkerStatefulSet());</span></td> </tr> <tr data-hunk="3909d8532f3f598899757209d9730fe425ae1c0db25aff11a17c93940df53ff8" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7R68" data-line-number="68" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> assertNotNull(spec.getHorizontalPodAutoscaler());</span></td> </tr> <tr data-hunk="3909d8532f3f598899757209d9730fe425ae1c0db25aff11a17c93940df53ff8" class="show-top-border"> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7L68" data-line-number="68" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7R69" data-line-number="69" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="3909d8532f3f598899757209d9730fe425ae1c0db25aff11a17c93940df53ff8" class="show-top-border"> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7L69" data-line-number="69" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-b4c88081fde57075877a7fbb95fc5a6a183f6f78c7faac5f676a6ce2ac1753f7R70" data-line-number="70" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" ">}</span></td> </tr> </tbody> </table> </deferred-diff-lines> </div> </div> </div> </copilot-diff-entry> </div> <div class="js-diff-progressive-container"> <include-fragment src="/apache/spark-kubernetes-operator/unchanged_files_with_annotations?blob_paths%5B%5D=.github&pull_number=135&sha2=1d1b46f5c73bdd4aa97c6c8b12b08f4e324a5daf" class="diff-progressive-loader js-diff-progressive-loader mb-4 d-flex flex-items-center flex-justify-center" data-targets="diff-file-filter.progressiveLoaders" > <span data-view-component="true"> <svg data-hide-on-error="true" style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" aria-hidden="true" data-view-component="true" class="anim-rotate"> <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" /> <path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" /> </svg> <span class="sr-only">Loading</span> </span> <div data-show-on-error hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert color-fg-danger mr-1"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> Oops, something went wrong. <button data-retry-button="" type="button" data-view-component="true" class="btn-link"> Retry </button> </div> </include-fragment> </div> </div> <button type="button" class="js-toggle-all-file-notes" data-hotkey="i" style="display:none">Toggle all file notes</button> <button type="button" class="js-toggle-all-file-annotations" data-hotkey="a" style="display:none">Toggle all file annotations</button> <svg aria-hidden="true" width="100px" height="84px" viewBox="0 0 340 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="diff-placeholder-svg position-absolute bottom-0"> <defs> <clippath id="diff-placeholder"> <rect x="0" y="0" width="67.0175439" height="11.9298746" rx="2"></rect> <rect x="18.9473684" y="47.7194983" width="100.701754" height="11.9298746" rx="2"></rect> <rect x="0" y="71.930126" width="37.8947368" height="11.9298746" rx="2"></rect> <rect x="127.017544" y="48.0703769" width="53.3333333" height="11.9298746" rx="2"></rect> <rect x="187.719298" y="48.0703769" width="72.9824561" height="11.9298746" rx="2"></rect> <rect x="76.8421053" y="0" width="140.350877" height="11.9298746" rx="2"></rect> <rect x="17.8947368" y="23.8597491" width="140.350877" height="11.9298746" rx="2"></rect> <rect x="166.315789" y="23.8597491" width="173.684211" height="11.9298746" rx="2"></rect> </clippath> <linearGradient id="animated-diff-gradient" x1="0" x2="0" y1="0" y2="1" spreadMethod="reflect"> <stop offset="0" stop-color="#eee"></stop> <stop offset="0.2" stop-color="#eee"></stop> <stop offset="0.5" stop-color="#ddd"></stop> <stop offset="0.8" stop-color="#eee"></stop> <stop offset="1" stop-color="#eee"></stop> <animateTransform attributeName="y1" values="0%; 100%; 0" dur="1s" repeatCount="3"></animateTransform> <animateTransform attributeName="y2" values="100%; 200%; 0" dur="1s" repeatCount="3"></animateTransform> </linearGradient> </defs> </svg> </div> </div> </diff-layout> </diff-file-filter> </div> </div> <div hidden> <span class="js-add-to-batch-enabled">Add this suggestion to a batch that can be applied as a single commit.</span> <span class="js-unchanged-suggestion">This suggestion is invalid because no changes were made to the code.</span> <span class="js-closed-pull">Suggestions cannot be applied while the pull request is closed.</span> <span class="js-viewing-subset-changes">Suggestions cannot be applied while viewing a subset of changes.</span> <span class="js-one-suggestion-per-line">Only one suggestion per line can be applied in a batch.</span> <span class="js-reenable-add-to-batch">Add this suggestion to a batch that can be applied as a single commit.</span> <span class="js-validation-on-left-blob">Applying suggestions on deleted lines is not supported.</span> <span class="js-validation-on-right-blob">You must change the existing code in this line in order to create a valid suggestion.</span> <span class="js-outdated-comment">Outdated suggestions cannot be applied.</span> <span class="js-resolved-thread">This suggestion has been applied or marked resolved.</span> <span class="js-pending-review">Suggestions cannot be applied from pending reviews.</span> <span class="js-is-multiline">Suggestions cannot be applied on multi-line comments.</span> <span class="js-in-merge-queue">Suggestions cannot be applied while the pull request is queued to merge.</span> <span class="js-head-oid-not-loaded">Suggestion cannot be applied right now. Please check back later.</span> <div class="form-group errored m-0 error js-suggested-changes-inline-validation-template d-flex" style="cursor: default;"> <span class="js-suggested-changes-inline-error-message position-relative error m-0" style="max-width: inherit;"></span> </div> </div> </div> </div> </turbo-frame> </main> </div> </div> <footer class="footer pt-8 pb-6 f6 color-fg-muted p-responsive" role="contentinfo" > <h2 class='sr-only'>Footer</h2> <div class="d-flex flex-justify-center flex-items-center flex-column-reverse flex-lg-row flex-wrap flex-lg-nowrap"> <div class="d-flex flex-items-center flex-shrink-0 mx-2"> <a aria-label="Homepage" title="GitHub" class="footer-octicon mr-2" href="https://github.com"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path> </svg> </a> <span> © 2024 GitHub, Inc. </span> </div> <nav aria-label="Footer"> <h3 class="sr-only" id="sr-footer-heading">Footer navigation</h3> <ul class="list-style-none d-flex flex-justify-center flex-wrap mb-2 mb-lg-0" aria-labelledby="sr-footer-heading"> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to Terms","label":"text:terms"}" href="https://docs.github.com/site-policy/github-terms/github-terms-of-service" data-view-component="true" class="Link--secondary Link">Terms</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to privacy","label":"text:privacy"}" href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement" data-view-component="true" class="Link--secondary Link">Privacy</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to security","label":"text:security"}" href="https://github.com/security" data-view-component="true" class="Link--secondary Link">Security</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to status","label":"text:status"}" href="https://www.githubstatus.com/" data-view-component="true" class="Link--secondary Link">Status</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to docs","label":"text:docs"}" href="https://docs.github.com/" data-view-component="true" class="Link--secondary Link">Docs</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to contact","label":"text:contact"}" href="https://support.github.com?tags=dotcom-footer" data-view-component="true" class="Link--secondary Link">Contact</a> </li> <li class="mx-2" > <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{"location":"footer","action":"cookies","context":"subfooter","tag":"link","label":"cookies_link_subfooter_footer"}" > Manage cookies </button> </cookie-consent-link> </li> <li class="mx-2"> <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{"location":"footer","action":"dont_share_info","context":"subfooter","tag":"link","label":"dont_share_info_link_subfooter_footer"}" > Do not share my personal information </button> </cookie-consent-link> </li> </ul> </nav> </div> </footer> <ghcc-consent id="ghcc" class="position-fixed bottom-0 left-0" style="z-index: 999999" data-initial-cookie-consent-allowed="" data-cookie-consent-required="false"></ghcc-consent> <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> You can’t perform that action at this time. </div> <template id="site-details-dialog"> <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open> <summary role="button" aria-label="Close dialog"></summary> <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal"> <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="octocat-spinner my-6 js-details-dialog-spinner"></div> </details-dialog> </details> </template> <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;"> <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;"> </div> </div> <template id="snippet-clipboard-copy-button"> <div class="zeroclipboard-container position-absolute right-0 top-0"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> <template id="snippet-clipboard-copy-button-unpositioned"> <div class="zeroclipboard-container"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> </div> <div id="js-global-screen-reader-notice" class="sr-only mt-n1" aria-live="polite" aria-atomic="true" ></div> <div id="js-global-screen-reader-notice-assertive" class="sr-only mt-n1" aria-live="assertive" aria-atomic="true"></div> </body> </html>