[{"data":1,"prerenderedAt":7045},["ShallowReactive",2],{"navigation":3,"\u002Fblog\u002Fgrafana-gitsync-on-azure-devops":18,"\u002Fblog\u002Fgrafana-gitsync-on-azure-devops-surround":3663,"posts":3666},[4],{"title":5,"path":6,"stem":7,"children":8,"page":17},"Blog","\u002Fblog","blog",[9,13],{"title":10,"path":11,"stem":12},"Affordable Kubernetes: The best options","\u002Fblog\u002Faffordable-kubernetes-the-best-options","blog\u002Faffordable-kubernetes-the-best-options",{"title":14,"path":15,"stem":16},"Grafana Git Sync on Azure DevOps","\u002Fblog\u002Fgrafana-gitsync-on-azure-devops","blog\u002Fgrafana-gitsync-on-azure-devops",false,{"id":19,"title":14,"author":20,"body":23,"category":3641,"date":3642,"description":3643,"draft":17,"extension":3644,"featured":17,"image":3645,"meta":3646,"minRead":511,"navigation":410,"ogImage":3647,"path":15,"robots":3647,"schemaOrg":3647,"seo":3648,"sitemap":3649,"stem":16,"tags":3657,"updated":3647,"__hash__":3662},"blog\u002Fblog\u002Fgrafana-gitsync-on-azure-devops.md",{"name":21,"avatar":22},"Boluwatife Morawo","https:\u002F\u002Fgithub.com\u002Fidenticons\u002Fcodejourney.png",{"type":24,"value":25,"toc":3621},"minimark",[26,34,45,48,92,97,105,113,118,132,136,163,959,963,966,977,1029,1035,1095,1099,1117,1136,1297,1312,1329,1333,1336,1371,1570,1585,1598,1848,1852,1863,1925,2272,2282,2286,2296,2303,2306,2312,2319,2390,2396,2408,2414,2417,2430,2434,2440,2444,2451,2470,2474,2481,2620,2623,2631,2705,2722,2823,2827,2836,2904,2913,2919,2922,2928,2934,2938,2941,3617],[27,28,29,30,33],"p",{},"Grafana's Git Sync features let you sync your dashboards as JSON\u002FYAML files in Git and manage them as code. This brings the auditability and automation goodies of Git with the added benefit of bi-directional synchronization.",[31,32],"br",{},"\nYou also get enhanced integration features like automated pull request comments with dashboard preview for specific Git providers such as GitHub, GitLab and Bitbucket.",[27,35,36,37,44],{},"Any provider that's not directly supported is meant to use ",[38,39,43],"a",{"href":40,"rel":41},"https:\u002F\u002Fgrafana.com\u002Fdocs\u002Fgrafana-cloud\u002Flearn-and-build\u002Fas-code\u002Fgit-sync\u002Fusage-limits\u002F#the-pure-git-repository-type",[42],"nofollow","pure git"," which offers Git over HTTPS with no provider-specific logic. Seeing as there is no specific support for Azure DevOps, pure git seems like the obvious way out until you realize that pure git only supports Smart HTTP protocol v2 while Azure DevOps only uses v1.",[27,46,47],{},"Fear not though, we will explore a neat solution to this dilemma.",[49,50,51,55,70],"details",{},[52,53,54],"summary",{},"TL;DR",[27,56,57,58,63,64,69],{},"The 2 pieces of the puzzle are ",[38,59,62],{"href":60,"rel":61},"https:\u002F\u002Fartifacthub.io\u002Fpackages\u002Fhelm\u002Fgit-v2-azuredevops-proxy\u002Fgit-v2-azuredevops-proxy",[42],"git-v2-azuredevops-proxy"," and ",[38,65,68],{"href":66,"rel":67},"https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=hayone1.grafana-git-sync-preview",[42],"Grafana Git Sync PR Preview",". If you're using Kubernetes, these are the steps summarized.",[71,72,73,82,85],"ol",{},[74,75,76,77,81],"li",{},"Install the ",[38,78,80],{"href":60,"rel":79},[42],"proxy"," with Helm next to Grafana, pointing it at your Azure DevOps repository.",[74,83,84],{},"Whitelist the proxy's in-cluster address in Grafana, and configure a pure git repository in Grafana that points at this address.",[74,86,76,87,91],{},[38,88,90],{"href":66,"rel":89},[42],"PR Preview extension"," in Azure DevOps, and add its task to a pipeline that runs as build validation on your pull requests.",[93,94,96],"h2",{"id":95},"azure-devops-proxy","Azure DevOps Proxy",[27,98,99,100,104],{},"Azure DevOps Proxy (",[38,101,62],{"href":102,"rel":103},"https:\u002F\u002Fgithub.com\u002FDominik-esb\u002Fgit-v2-azuredevops-proxy",[42],") is a Smart HTTP server that translates protocol v1 into protocol v2 on behalf of Azure DevOps. It's the exact solution that Grafana needs for Git Sync to work. Let's explore how to set it up.",[106,107,110],"callout",{"color":108,"icon":109},"secondary","i-lucide-lightbulb",[27,111,112],{},"The examples in this post use Kubernetes but can also be implemented with docker-compose or just docker.",[114,115,117],"h3",{"id":116},"requirements","Requirements",[119,120,121,124],"ul",{},[74,122,123],{},"A Kubernetes cluster.",[74,125,126,127,131],{},"An Azure DevOps personal access token with ",[128,129,130],"strong",{},"Code (Read & Write)"," on the repository. Authentication can be done via Entra workload identity or client ID\u002Fsecret, but I chose a PAT for simplicity in this guide.",[114,133,135],{"id":134},"great-to-have","Great to have",[119,137,138,147,155],{},[74,139,140,141,146],{},"A ",[38,142,145],{"href":143,"rel":144},"https:\u002F\u002Fgateway-api.sigs.k8s.io\u002F",[42],"Gateway API"," implementation, for Grafana's public hostname.",[74,148,149,154],{},[38,150,153],{"href":151,"rel":152},"https:\u002F\u002Fcert-manager.io\u002F",[42],"cert-manager"," with API access to your domain's DNS, or any other way to get a trusted TLS certificate for Grafana's hostname. In this post, I used Hetzner to manage the domain.",[74,156,157,162],{},[38,158,161],{"href":159,"rel":160},"https:\u002F\u002Fwww.crossplane.io\u002F",[42],"Crossplane"," if you want to manage Grafana with Infrastructure as Code (IaC).",[49,164,165,168,176,180,183,219,226,301,310,319,322,327,347,351,370,391,422,609,618,622,925],{},[52,166,167],{},"Step 0: Routing and Certificate for Grafana",[27,169,170,171,175],{},"Follow through with this section if you have a domain and want to set up your Grafana instance to be accessible over HTTPS; otherwise, ",[38,172,174],{"href":173},"#step-1-create-the-repository","skip to step 1",".",[114,177,179],{"id":178},"envoy-gateway","Envoy Gateway",[27,181,182],{},"Install the Envoy Gateway chart (or any gateway implementation of your choice).",[184,185,190],"pre",{"className":186,"code":187,"language":188,"meta":189,"style":189},"language-sh shiki shiki-themes material-theme-lighter github-light github-dark","# this chart also comes with the gateway api crd\n# but you probably want to manage that separately.\nhelm install envoy-gateway oci:\u002F\u002Fdocker.io\u002Fenvoyproxy\u002Fgateway-helm \\\n  --version v1.10.0 -n envoy-gateway-system --create-namespace --wait\n","sh","",[191,192,193,201,207,213],"code",{"__ignoreMap":189},[194,195,198],"span",{"class":196,"line":197},"line",1,[194,199,200],{},"# this chart also comes with the gateway api crd\n",[194,202,204],{"class":196,"line":203},2,[194,205,206],{},"# but you probably want to manage that separately.\n",[194,208,210],{"class":196,"line":209},3,[194,211,212],{},"helm install envoy-gateway oci:\u002F\u002Fdocker.io\u002Fenvoyproxy\u002Fgateway-helm \\\n",[194,214,216],{"class":196,"line":215},4,[194,217,218],{},"  --version v1.10.0 -n envoy-gateway-system --create-namespace --wait\n",[27,220,221,222,225],{},"Create the ",[191,223,224],{},"GatewayClass"," that Gateways use to pick Envoy Gateway:",[184,227,231],{"className":228,"code":229,"language":230,"meta":189,"style":189},"language-yaml shiki shiki-themes material-theme-lighter github-light github-dark","# gatewayclass.yaml\napiVersion: gateway.networking.k8s.io\u002Fv1\nkind: GatewayClass\nmetadata:\n  name: envoy\nspec:\n  controllerName: gateway.envoyproxy.io\u002Fgatewayclass-controller\n","yaml",[191,232,233,239,253,263,271,282,290],{"__ignoreMap":189},[194,234,235],{"class":196,"line":197},[194,236,238],{"class":237},"sutJx","# gatewayclass.yaml\n",[194,240,241,245,249],{"class":196,"line":203},[194,242,244],{"class":243},"sQzsp","apiVersion",[194,246,248],{"class":247},"sP7_E",":",[194,250,252],{"class":251},"s_sjI"," gateway.networking.k8s.io\u002Fv1\n",[194,254,255,258,260],{"class":196,"line":209},[194,256,257],{"class":243},"kind",[194,259,248],{"class":247},[194,261,262],{"class":251}," GatewayClass\n",[194,264,265,268],{"class":196,"line":215},[194,266,267],{"class":243},"metadata",[194,269,270],{"class":247},":\n",[194,272,274,277,279],{"class":196,"line":273},5,[194,275,276],{"class":243},"  name",[194,278,248],{"class":247},[194,280,281],{"class":251}," envoy\n",[194,283,285,288],{"class":196,"line":284},6,[194,286,287],{"class":243},"spec",[194,289,270],{"class":247},[194,291,293,296,298],{"class":196,"line":292},7,[194,294,295],{"class":243},"  controllerName",[194,297,248],{"class":247},[194,299,300],{"class":251}," gateway.envoyproxy.io\u002Fgatewayclass-controller\n",[184,302,304],{"className":186,"code":303,"language":188,"meta":189,"style":189},"kubectl apply -f gatewayclass.yaml\n",[191,305,306],{"__ignoreMap":189},[194,307,308],{"class":196,"line":197},[194,309,303],{},[106,311,312],{"color":108,"icon":109},[27,313,314,315,318],{},"On k3s, the bundled Traefik already takes ports 80 and 443. Install k3s with ",[191,316,317],{},"--disable=traefik"," so that those ports are free for Envoy Gateway's LoadBalancer to use.",[114,320,321],{"id":153},"Cert Manager",[323,324,326],"h4",{"id":325},"install-cert-manager","Install cert-manager",[184,328,330],{"className":186,"code":329,"language":188,"meta":189,"style":189},"helm repo add jetstack https:\u002F\u002Fcharts.jetstack.io\nhelm upgrade --install cert-manager jetstack\u002Fcert-manager \\\n  -n cert-manager --create-namespace --set crds.enabled=true --wait\n",[191,331,332,337,342],{"__ignoreMap":189},[194,333,334],{"class":196,"line":197},[194,335,336],{},"helm repo add jetstack https:\u002F\u002Fcharts.jetstack.io\n",[194,338,339],{"class":196,"line":203},[194,340,341],{},"helm upgrade --install cert-manager jetstack\u002Fcert-manager \\\n",[194,343,344],{"class":196,"line":209},[194,345,346],{},"  -n cert-manager --create-namespace --set crds.enabled=true --wait\n",[323,348,350],{"id":349},"install-the-cluster-issuer","Install the cluster issuer",[27,352,353,354,359,360,63,365,175],{},"The cluster issuer enables the issuing of signed TLS certificates across all namespaces in a cluster.\nThis example uses Hetzner's ",[38,355,358],{"href":356,"rel":357},"https:\u002F\u002Fgithub.com\u002Fhetzner\u002Fcert-manager-webhook-hetzner",[42],"cert-manager webhook",". cert-manager also supports many ",[38,361,364],{"href":362,"rel":363},"https:\u002F\u002Fcert-manager.io\u002Fdocs\u002Fconfiguration\u002Facme\u002Fdns01\u002F#supported-dns01-providers",[42],"default providers",[38,366,369],{"href":367,"rel":368},"https:\u002F\u002Fgithub.com\u002Ftopics\u002Fcert-manager-webhook",[42],"webhook providers",[27,371,372,373,378,379,383,384,387,388,390],{},"Create a read & write API token in the ",[38,374,377],{"href":375,"rel":376},"https:\u002F\u002Fconsole.hetzner.com\u002F",[42],"Hetzner Console"," (",[380,381,382],"em",{},"your project > Security > API tokens","). A ",[191,385,386],{},"ClusterIssuer"," reads its Secrets from the ",[191,389,153],{}," namespace, so store the token there, then install the webhook:",[184,392,394],{"className":186,"code":393,"language":188,"meta":189,"style":189},"# secret and webhook\nkubectl -n cert-manager create secret generic hetzner --from-literal=token='\u003Cyour Hetzner API token>'\n\nhelm repo add hcloud https:\u002F\u002Fcharts.hetzner.cloud\nhelm install cert-manager-webhook-hetzner hcloud\u002Fcert-manager-webhook-hetzner --version 0.9.1 -n cert-manager --wait\n",[191,395,396,401,406,412,417],{"__ignoreMap":189},[194,397,398],{"class":196,"line":197},[194,399,400],{},"# secret and webhook\n",[194,402,403],{"class":196,"line":203},[194,404,405],{},"kubectl -n cert-manager create secret generic hetzner --from-literal=token='\u003Cyour Hetzner API token>'\n",[194,407,408],{"class":196,"line":209},[194,409,411],{"emptyLinePlaceholder":410},true,"\n",[194,413,414],{"class":196,"line":215},[194,415,416],{},"helm repo add hcloud https:\u002F\u002Fcharts.hetzner.cloud\n",[194,418,419],{"class":196,"line":273},[194,420,421],{},"helm install cert-manager-webhook-hetzner hcloud\u002Fcert-manager-webhook-hetzner --version 0.9.1 -n cert-manager --wait\n",[184,423,425],{"className":228,"code":424,"language":230,"meta":189,"style":189},"# cluster-issuer.yaml\napiVersion: cert-manager.io\u002Fv1\nkind: ClusterIssuer\nmetadata:\n  name: letsencrypt\nspec:\n  acme:\n    server: https:\u002F\u002Facme-v02.api.letsencrypt.org\u002Fdirectory\n    privateKeySecretRef:\n      # cert-manager creates this Secret itself and keeps your Let's Encrypt account key in it.\n      # There is nothing to create here.\n      name: letsencrypt-account\n    solvers:\n      - dns01:\n          webhook:\n            groupName: acme.hetzner.com\n            solverName: hetzner\n            config:\n              tokenSecretKeyRef:   # the Secret created above\n                name: hetzner\n                key: token\n",[191,426,427,432,441,450,456,465,471,478,489,497,503,509,520,528,539,547,558,569,577,588,598],{"__ignoreMap":189},[194,428,429],{"class":196,"line":197},[194,430,431],{"class":237},"# cluster-issuer.yaml\n",[194,433,434,436,438],{"class":196,"line":203},[194,435,244],{"class":243},[194,437,248],{"class":247},[194,439,440],{"class":251}," cert-manager.io\u002Fv1\n",[194,442,443,445,447],{"class":196,"line":209},[194,444,257],{"class":243},[194,446,248],{"class":247},[194,448,449],{"class":251}," ClusterIssuer\n",[194,451,452,454],{"class":196,"line":215},[194,453,267],{"class":243},[194,455,270],{"class":247},[194,457,458,460,462],{"class":196,"line":273},[194,459,276],{"class":243},[194,461,248],{"class":247},[194,463,464],{"class":251}," letsencrypt\n",[194,466,467,469],{"class":196,"line":284},[194,468,287],{"class":243},[194,470,270],{"class":247},[194,472,473,476],{"class":196,"line":292},[194,474,475],{"class":243},"  acme",[194,477,270],{"class":247},[194,479,481,484,486],{"class":196,"line":480},8,[194,482,483],{"class":243},"    server",[194,485,248],{"class":247},[194,487,488],{"class":251}," https:\u002F\u002Facme-v02.api.letsencrypt.org\u002Fdirectory\n",[194,490,492,495],{"class":196,"line":491},9,[194,493,494],{"class":243},"    privateKeySecretRef",[194,496,270],{"class":247},[194,498,500],{"class":196,"line":499},10,[194,501,502],{"class":237},"      # cert-manager creates this Secret itself and keeps your Let's Encrypt account key in it.\n",[194,504,506],{"class":196,"line":505},11,[194,507,508],{"class":237},"      # There is nothing to create here.\n",[194,510,512,515,517],{"class":196,"line":511},12,[194,513,514],{"class":243},"      name",[194,516,248],{"class":247},[194,518,519],{"class":251}," letsencrypt-account\n",[194,521,523,526],{"class":196,"line":522},13,[194,524,525],{"class":243},"    solvers",[194,527,270],{"class":247},[194,529,531,534,537],{"class":196,"line":530},14,[194,532,533],{"class":247},"      -",[194,535,536],{"class":243}," dns01",[194,538,270],{"class":247},[194,540,542,545],{"class":196,"line":541},15,[194,543,544],{"class":243},"          webhook",[194,546,270],{"class":247},[194,548,550,553,555],{"class":196,"line":549},16,[194,551,552],{"class":243},"            groupName",[194,554,248],{"class":247},[194,556,557],{"class":251}," acme.hetzner.com\n",[194,559,561,564,566],{"class":196,"line":560},17,[194,562,563],{"class":243},"            solverName",[194,565,248],{"class":247},[194,567,568],{"class":251}," hetzner\n",[194,570,572,575],{"class":196,"line":571},18,[194,573,574],{"class":243},"            config",[194,576,270],{"class":247},[194,578,580,583,585],{"class":196,"line":579},19,[194,581,582],{"class":243},"              tokenSecretKeyRef",[194,584,248],{"class":247},[194,586,587],{"class":237},"   # the Secret created above\n",[194,589,591,594,596],{"class":196,"line":590},20,[194,592,593],{"class":243},"                name",[194,595,248],{"class":247},[194,597,568],{"class":251},[194,599,601,604,606],{"class":196,"line":600},21,[194,602,603],{"class":243},"                key",[194,605,248],{"class":247},[194,607,608],{"class":251}," token\n",[184,610,612],{"className":186,"code":611,"language":188,"meta":189,"style":189},"kubectl apply -f cluster-issuer.yaml\n",[191,613,614],{"__ignoreMap":189},[194,615,616],{"class":196,"line":197},[194,617,611],{},[114,619,621],{"id":620},"install-gateway-certificate","Install Gateway & Certificate",[184,623,625],{"className":228,"code":624,"language":230,"meta":189,"style":189},"# gateway.yaml\napiVersion: gateway.networking.k8s.io\u002Fv1\nkind: Gateway\nmetadata:\n  name: public\n  namespace: envoy-gateway-system\nspec:\n  gatewayClassName: envoy   # Envoy Gateway; use your own GatewayClass\n  listeners:\n    - name: https\n      protocol: HTTPS\n      port: 443\n      hostname: \"*.example.com\"\n      tls:\n        certificateRefs:\n          - name: public-tls   # the Certificate below, in the same namespace\n      allowedRoutes:\n        namespaces:\n          from: All   # allow all namespaces including grafana to use this gateway\n---\napiVersion: cert-manager.io\u002Fv1\nkind: Certificate\nmetadata:\n  name: public-tls\n  namespace: envoy-gateway-system\nspec:\n  secretName: public-tls\n  issuerRef:\n    kind: ClusterIssuer\n    name: letsencrypt\n  dnsNames:\n    - \"*.example.com\"   # covers grafana.example.com and any later hostname\n",[191,626,627,632,640,649,655,664,674,680,693,700,713,723,734,751,758,765,780,787,794,807,813,821,831,838,848,857,864,874,882,892,902,910],{"__ignoreMap":189},[194,628,629],{"class":196,"line":197},[194,630,631],{"class":237},"# gateway.yaml\n",[194,633,634,636,638],{"class":196,"line":203},[194,635,244],{"class":243},[194,637,248],{"class":247},[194,639,252],{"class":251},[194,641,642,644,646],{"class":196,"line":209},[194,643,257],{"class":243},[194,645,248],{"class":247},[194,647,648],{"class":251}," Gateway\n",[194,650,651,653],{"class":196,"line":215},[194,652,267],{"class":243},[194,654,270],{"class":247},[194,656,657,659,661],{"class":196,"line":273},[194,658,276],{"class":243},[194,660,248],{"class":247},[194,662,663],{"class":251}," public\n",[194,665,666,669,671],{"class":196,"line":284},[194,667,668],{"class":243},"  namespace",[194,670,248],{"class":247},[194,672,673],{"class":251}," envoy-gateway-system\n",[194,675,676,678],{"class":196,"line":292},[194,677,287],{"class":243},[194,679,270],{"class":247},[194,681,682,685,687,690],{"class":196,"line":480},[194,683,684],{"class":243},"  gatewayClassName",[194,686,248],{"class":247},[194,688,689],{"class":251}," envoy",[194,691,692],{"class":237},"   # Envoy Gateway; use your own GatewayClass\n",[194,694,695,698],{"class":196,"line":491},[194,696,697],{"class":243},"  listeners",[194,699,270],{"class":247},[194,701,702,705,708,710],{"class":196,"line":499},[194,703,704],{"class":247},"    -",[194,706,707],{"class":243}," name",[194,709,248],{"class":247},[194,711,712],{"class":251}," https\n",[194,714,715,718,720],{"class":196,"line":505},[194,716,717],{"class":243},"      protocol",[194,719,248],{"class":247},[194,721,722],{"class":251}," HTTPS\n",[194,724,725,728,730],{"class":196,"line":511},[194,726,727],{"class":243},"      port",[194,729,248],{"class":247},[194,731,733],{"class":732},"srdBf"," 443\n",[194,735,736,739,741,745,748],{"class":196,"line":522},[194,737,738],{"class":243},"      hostname",[194,740,248],{"class":247},[194,742,744],{"class":743},"sjJ54"," \"",[194,746,747],{"class":251},"*.example.com",[194,749,750],{"class":743},"\"\n",[194,752,753,756],{"class":196,"line":530},[194,754,755],{"class":243},"      tls",[194,757,270],{"class":247},[194,759,760,763],{"class":196,"line":541},[194,761,762],{"class":243},"        certificateRefs",[194,764,270],{"class":247},[194,766,767,770,772,774,777],{"class":196,"line":549},[194,768,769],{"class":247},"          -",[194,771,707],{"class":243},[194,773,248],{"class":247},[194,775,776],{"class":251}," public-tls",[194,778,779],{"class":237},"   # the Certificate below, in the same namespace\n",[194,781,782,785],{"class":196,"line":560},[194,783,784],{"class":243},"      allowedRoutes",[194,786,270],{"class":247},[194,788,789,792],{"class":196,"line":571},[194,790,791],{"class":243},"        namespaces",[194,793,270],{"class":247},[194,795,796,799,801,804],{"class":196,"line":579},[194,797,798],{"class":243},"          from",[194,800,248],{"class":247},[194,802,803],{"class":251}," All",[194,805,806],{"class":237},"   # allow all namespaces including grafana to use this gateway\n",[194,808,809],{"class":196,"line":590},[194,810,812],{"class":811},"sbgvK","---\n",[194,814,815,817,819],{"class":196,"line":600},[194,816,244],{"class":243},[194,818,248],{"class":247},[194,820,440],{"class":251},[194,822,824,826,828],{"class":196,"line":823},22,[194,825,257],{"class":243},[194,827,248],{"class":247},[194,829,830],{"class":251}," Certificate\n",[194,832,834,836],{"class":196,"line":833},23,[194,835,267],{"class":243},[194,837,270],{"class":247},[194,839,841,843,845],{"class":196,"line":840},24,[194,842,276],{"class":243},[194,844,248],{"class":247},[194,846,847],{"class":251}," public-tls\n",[194,849,851,853,855],{"class":196,"line":850},25,[194,852,668],{"class":243},[194,854,248],{"class":247},[194,856,673],{"class":251},[194,858,860,862],{"class":196,"line":859},26,[194,861,287],{"class":243},[194,863,270],{"class":247},[194,865,867,870,872],{"class":196,"line":866},27,[194,868,869],{"class":243},"  secretName",[194,871,248],{"class":247},[194,873,847],{"class":251},[194,875,877,880],{"class":196,"line":876},28,[194,878,879],{"class":243},"  issuerRef",[194,881,270],{"class":247},[194,883,885,888,890],{"class":196,"line":884},29,[194,886,887],{"class":243},"    kind",[194,889,248],{"class":247},[194,891,449],{"class":251},[194,893,895,898,900],{"class":196,"line":894},30,[194,896,897],{"class":243},"    name",[194,899,248],{"class":247},[194,901,464],{"class":251},[194,903,905,908],{"class":196,"line":904},31,[194,906,907],{"class":243},"  dnsNames",[194,909,270],{"class":247},[194,911,913,915,917,919,922],{"class":196,"line":912},32,[194,914,704],{"class":247},[194,916,744],{"class":743},[194,918,747],{"class":251},[194,920,921],{"class":743},"\"",[194,923,924],{"class":237},"   # covers grafana.example.com and any later hostname\n",[184,926,928],{"className":186,"code":927,"language":188,"meta":189,"style":189},"kubectl apply -f gateway.yaml\n\n# check Envoy Gateway readiness\nkubectl -n envoy-gateway-system wait gateway\u002Fpublic --for=condition=Programmed --timeout=5m\n# check certificate readiness; the DNS-01 check can take a few minutes\nkubectl -n envoy-gateway-system wait certificate\u002Fpublic-tls --for=condition=Ready --timeout=10m\n",[191,929,930,935,939,944,949,954],{"__ignoreMap":189},[194,931,932],{"class":196,"line":197},[194,933,934],{},"kubectl apply -f gateway.yaml\n",[194,936,937],{"class":196,"line":203},[194,938,411],{"emptyLinePlaceholder":410},[194,940,941],{"class":196,"line":209},[194,942,943],{},"# check Envoy Gateway readiness\n",[194,945,946],{"class":196,"line":215},[194,947,948],{},"kubectl -n envoy-gateway-system wait gateway\u002Fpublic --for=condition=Programmed --timeout=5m\n",[194,950,951],{"class":196,"line":273},[194,952,953],{},"# check certificate readiness; the DNS-01 check can take a few minutes\n",[194,955,956],{"class":196,"line":284},[194,957,958],{},"kubectl -n envoy-gateway-system wait certificate\u002Fpublic-tls --for=condition=Ready --timeout=10m\n",[114,960,962],{"id":961},"step-1-create-the-repository","Step 1: Create the repository",[27,964,965],{},"Git Sync needs a repository with at least one commit on the branch it syncs. The folder for the dashboards doesn't need to exist yet: Grafana creates it when you save your first dashboard in step 5.",[27,967,968,969,972,973,976],{},"In Azure DevOps, open your project and go to ",[128,970,971],{},"Repos",". Open the repository list at the top of the page and select ",[128,974,975],{},"New repository",". Fill in:",[978,979,980,993],"table",{},[981,982,983],"thead",{},[984,985,986,990],"tr",{},[987,988,989],"th",{},"Field",[987,991,992],{},"Value",[994,995,996,1007,1017],"tbody",{},[984,997,998,1002],{},[999,1000,1001],"td",{},"Repository type",[999,1003,1004],{},[191,1005,1006],{},"Git",[984,1008,1009,1012],{},[999,1010,1011],{},"Repository name",[999,1013,1014],{},[191,1015,1016],{},"dashboards",[984,1018,1019,1022],{},[999,1020,1021],{},"Add a README",[999,1023,1024,1025,1028],{},"ticked, so that ",[191,1026,1027],{},"main"," has its first commit",[27,1030,1031,1032,175],{},"Then select ",[128,1033,1034],{},"Create",[49,1036,1037,1040,1046],{},[52,1038,1039],{},"Or with the Azure CLI",[27,1041,1042,1045],{},[191,1043,1044],{},"az repos create"," creates an empty repository, so push a first commit yourself:",[184,1047,1049],{"className":186,"code":1048,"language":188,"meta":189,"style":189},"az repos create --org https:\u002F\u002Fdev.azure.com\u002Fcontoso --project Monitoring --name dashboards\n\ngit clone https:\u002F\u002Fdev.azure.com\u002Fcontoso\u002FMonitoring\u002F_git\u002Fdashboards\ncd dashboards\ngit switch -c main\necho \"# dashboards\" > README.md\ngit add README.md\ngit commit -m \"Add README\"\ngit push -u origin main\n",[191,1050,1051,1056,1060,1065,1070,1075,1080,1085,1090],{"__ignoreMap":189},[194,1052,1053],{"class":196,"line":197},[194,1054,1055],{},"az repos create --org https:\u002F\u002Fdev.azure.com\u002Fcontoso --project Monitoring --name dashboards\n",[194,1057,1058],{"class":196,"line":203},[194,1059,411],{"emptyLinePlaceholder":410},[194,1061,1062],{"class":196,"line":209},[194,1063,1064],{},"git clone https:\u002F\u002Fdev.azure.com\u002Fcontoso\u002FMonitoring\u002F_git\u002Fdashboards\n",[194,1066,1067],{"class":196,"line":215},[194,1068,1069],{},"cd dashboards\n",[194,1071,1072],{"class":196,"line":273},[194,1073,1074],{},"git switch -c main\n",[194,1076,1077],{"class":196,"line":284},[194,1078,1079],{},"echo \"# dashboards\" > README.md\n",[194,1081,1082],{"class":196,"line":292},[194,1083,1084],{},"git add README.md\n",[194,1086,1087],{"class":196,"line":480},[194,1088,1089],{},"git commit -m \"Add README\"\n",[194,1091,1092],{"class":196,"line":491},[194,1093,1094],{},"git push -u origin main\n",[114,1096,1098],{"id":1097},"step-2-install-the-proxy","Step 2: Install the proxy",[27,1100,1101,1106,1107,1110,1111,175,1114,1116],{},[38,1102,1105],{"href":1103,"rel":1104},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fazure\u002Fdevops\u002Forganizations\u002Faccounts\u002Fuse-personal-access-tokens-to-authenticate",[42],"Create a PAT"," with the ",[128,1108,1109],{},"Custom defined"," scope ",[128,1112,1113],{},"Code > Read & write",[31,1115],{},"\nStore the PAT in a Secret and reference it in the Helm chart.",[184,1118,1120],{"className":186,"code":1119,"language":188,"meta":189,"style":189},"kubectl create namespace grafana\n\nkubectl -n grafana create secret generic azure-devops-pat --from-literal=AZURE_PAT='\u003Cyour PAT>'\n",[191,1121,1122,1127,1131],{"__ignoreMap":189},[194,1123,1124],{"class":196,"line":197},[194,1125,1126],{},"kubectl create namespace grafana\n",[194,1128,1129],{"class":196,"line":203},[194,1130,411],{"emptyLinePlaceholder":410},[194,1132,1133],{"class":196,"line":209},[194,1134,1135],{},"kubectl -n grafana create secret generic azure-devops-pat --from-literal=AZURE_PAT='\u003Cyour PAT>'\n",[184,1137,1139],{"className":228,"code":1138,"language":230,"meta":189,"style":189},"# git-proxy-helm-values.yaml\nrepos:\n  # limit it to the specific dashboard repos\n  - https:\u002F\u002Fdev.azure.com\u002Fcontoso\u002FMonitoring\u002F_git\u002Fdashboards # use your own repos\n\nupstream:\n  auth: pat\n  pat:\n    existingSecret: azure-devops-pat   # key AZURE_PAT\n\n# Skipping proxyAuth because the network policy below is safe enough.\nproxyAuth: none\n\nsyncInterval: 30   # seconds between fetches from Azure DevOps\n\npersistence:\n  size: 5Gi   # the mirrors of your repositories live here\n\nnetworkPolicy:\n  # by default, only admits pods labelled app.kubernetes.io\u002Fname: grafana\n  enabled: true\n",[191,1140,1141,1146,1153,1158,1169,1173,1180,1190,1197,1210,1214,1219,1229,1233,1246,1250,1257,1270,1274,1281,1286],{"__ignoreMap":189},[194,1142,1143],{"class":196,"line":197},[194,1144,1145],{"class":237},"# git-proxy-helm-values.yaml\n",[194,1147,1148,1151],{"class":196,"line":203},[194,1149,1150],{"class":243},"repos",[194,1152,270],{"class":247},[194,1154,1155],{"class":196,"line":209},[194,1156,1157],{"class":237},"  # limit it to the specific dashboard repos\n",[194,1159,1160,1163,1166],{"class":196,"line":215},[194,1161,1162],{"class":247},"  -",[194,1164,1165],{"class":251}," https:\u002F\u002Fdev.azure.com\u002Fcontoso\u002FMonitoring\u002F_git\u002Fdashboards",[194,1167,1168],{"class":237}," # use your own repos\n",[194,1170,1171],{"class":196,"line":273},[194,1172,411],{"emptyLinePlaceholder":410},[194,1174,1175,1178],{"class":196,"line":284},[194,1176,1177],{"class":243},"upstream",[194,1179,270],{"class":247},[194,1181,1182,1185,1187],{"class":196,"line":292},[194,1183,1184],{"class":243},"  auth",[194,1186,248],{"class":247},[194,1188,1189],{"class":251}," pat\n",[194,1191,1192,1195],{"class":196,"line":480},[194,1193,1194],{"class":243},"  pat",[194,1196,270],{"class":247},[194,1198,1199,1202,1204,1207],{"class":196,"line":491},[194,1200,1201],{"class":243},"    existingSecret",[194,1203,248],{"class":247},[194,1205,1206],{"class":251}," azure-devops-pat",[194,1208,1209],{"class":237},"   # key AZURE_PAT\n",[194,1211,1212],{"class":196,"line":499},[194,1213,411],{"emptyLinePlaceholder":410},[194,1215,1216],{"class":196,"line":505},[194,1217,1218],{"class":237},"# Skipping proxyAuth because the network policy below is safe enough.\n",[194,1220,1221,1224,1226],{"class":196,"line":511},[194,1222,1223],{"class":243},"proxyAuth",[194,1225,248],{"class":247},[194,1227,1228],{"class":251}," none\n",[194,1230,1231],{"class":196,"line":522},[194,1232,411],{"emptyLinePlaceholder":410},[194,1234,1235,1238,1240,1243],{"class":196,"line":530},[194,1236,1237],{"class":243},"syncInterval",[194,1239,248],{"class":247},[194,1241,1242],{"class":732}," 30",[194,1244,1245],{"class":237},"   # seconds between fetches from Azure DevOps\n",[194,1247,1248],{"class":196,"line":541},[194,1249,411],{"emptyLinePlaceholder":410},[194,1251,1252,1255],{"class":196,"line":549},[194,1253,1254],{"class":243},"persistence",[194,1256,270],{"class":247},[194,1258,1259,1262,1264,1267],{"class":196,"line":560},[194,1260,1261],{"class":243},"  size",[194,1263,248],{"class":247},[194,1265,1266],{"class":251}," 5Gi",[194,1268,1269],{"class":237},"   # the mirrors of your repositories live here\n",[194,1271,1272],{"class":196,"line":571},[194,1273,411],{"emptyLinePlaceholder":410},[194,1275,1276,1279],{"class":196,"line":579},[194,1277,1278],{"class":243},"networkPolicy",[194,1280,270],{"class":247},[194,1282,1283],{"class":196,"line":590},[194,1284,1285],{"class":237},"  # by default, only admits pods labelled app.kubernetes.io\u002Fname: grafana\n",[194,1287,1288,1291,1293],{"class":196,"line":600},[194,1289,1290],{"class":243},"  enabled",[194,1292,248],{"class":247},[194,1294,1296],{"class":1295},"syTEX"," true\n",[184,1298,1300],{"className":186,"code":1299,"language":188,"meta":189,"style":189},"helm install git-proxy oci:\u002F\u002Fghcr.io\u002Fdominik-esb\u002Fcharts\u002Fgit-v2-azuredevops-proxy \\\n  --version 2.2.0 -n grafana -f git-proxy-helm-values.yaml --wait\n",[191,1301,1302,1307],{"__ignoreMap":189},[194,1303,1304],{"class":196,"line":197},[194,1305,1306],{},"helm install git-proxy oci:\u002F\u002Fghcr.io\u002Fdominik-esb\u002Fcharts\u002Fgit-v2-azuredevops-proxy \\\n",[194,1308,1309],{"class":196,"line":203},[194,1310,1311],{},"  --version 2.2.0 -n grafana -f git-proxy-helm-values.yaml --wait\n",[106,1313,1314],{"color":108,"icon":109},[27,1315,1316,1317,1320,1321,1324,1325,175],{},"In production, you should probably use Microsoft Entra workload identity (",[191,1318,1319],{},"upstream.auth: entraWorkloadIdentity",") or client id\u002Fsecrets (",[191,1322,1323],{},"entraClientSecret","). See the ",[38,1326,1328],{"href":60,"rel":1327},[42],"chart's README",[114,1330,1332],{"id":1331},"step-3-install-grafana","Step 3: Install Grafana",[27,1334,1335],{},"Create the Grafana admin secret and reference it in the Helm chart. Git Sync is on by default in Grafana 13.",[184,1337,1339],{"className":186,"code":1338,"language":188,"meta":189,"style":189},"# Added a `credentials` key, so that Crossplane can authenticate. See Step 3.1\nPASSWORD='\u003Ca strong password>'\nkubectl -n grafana create secret generic grafana-admin \\\n  --from-literal=admin-user=admin \\\n  --from-literal=admin-password=\"$PASSWORD\" \\\n  --from-literal=credentials=\"{\\\"auth\\\": \\\"admin:$PASSWORD\\\"}\"\n",[191,1340,1341,1346,1351,1356,1361,1366],{"__ignoreMap":189},[194,1342,1343],{"class":196,"line":197},[194,1344,1345],{},"# Added a `credentials` key, so that Crossplane can authenticate. See Step 3.1\n",[194,1347,1348],{"class":196,"line":203},[194,1349,1350],{},"PASSWORD='\u003Ca strong password>'\n",[194,1352,1353],{"class":196,"line":209},[194,1354,1355],{},"kubectl -n grafana create secret generic grafana-admin \\\n",[194,1357,1358],{"class":196,"line":215},[194,1359,1360],{},"  --from-literal=admin-user=admin \\\n",[194,1362,1363],{"class":196,"line":273},[194,1364,1365],{},"  --from-literal=admin-password=\"$PASSWORD\" \\\n",[194,1367,1368],{"class":196,"line":284},[194,1369,1370],{},"  --from-literal=credentials=\"{\\\"auth\\\": \\\"admin:$PASSWORD\\\"}\"\n",[184,1372,1374],{"className":228,"code":1373,"language":230,"meta":189,"style":189},"# grafana-helm-values.yaml\nadmin:\n  # the Secret has the keys admin-user and admin-password, as created above\n  existingSecret: grafana-admin\n\n# only needed to enable URL access to Grafana itself\nroute:\n  main:\n    enabled: true\n    parentRefs:\n      - name: public\n        namespace: envoy-gateway-system\n        sectionName: https\n    hostnames:\n      - grafana.example.com\n\ngrafana.ini:\n  server:\n    root_url: https:\u002F\u002Fgrafana.example.com\n  provisioning:\n    # allow the proxy's service url over http:\u002F\u002F\n    allowed_git_urls: git-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\n    allow_insecure: true\n\npersistence:\n  enabled: true\n  size: 5Gi\n",[191,1375,1376,1381,1388,1393,1403,1407,1412,1419,1426,1435,1442,1452,1461,1470,1477,1484,1488,1495,1502,1512,1519,1524,1534,1543,1547,1553,1561],{"__ignoreMap":189},[194,1377,1378],{"class":196,"line":197},[194,1379,1380],{"class":237},"# grafana-helm-values.yaml\n",[194,1382,1383,1386],{"class":196,"line":203},[194,1384,1385],{"class":243},"admin",[194,1387,270],{"class":247},[194,1389,1390],{"class":196,"line":209},[194,1391,1392],{"class":237},"  # the Secret has the keys admin-user and admin-password, as created above\n",[194,1394,1395,1398,1400],{"class":196,"line":215},[194,1396,1397],{"class":243},"  existingSecret",[194,1399,248],{"class":247},[194,1401,1402],{"class":251}," grafana-admin\n",[194,1404,1405],{"class":196,"line":273},[194,1406,411],{"emptyLinePlaceholder":410},[194,1408,1409],{"class":196,"line":284},[194,1410,1411],{"class":237},"# only needed to enable URL access to Grafana itself\n",[194,1413,1414,1417],{"class":196,"line":292},[194,1415,1416],{"class":243},"route",[194,1418,270],{"class":247},[194,1420,1421,1424],{"class":196,"line":480},[194,1422,1423],{"class":243},"  main",[194,1425,270],{"class":247},[194,1427,1428,1431,1433],{"class":196,"line":491},[194,1429,1430],{"class":243},"    enabled",[194,1432,248],{"class":247},[194,1434,1296],{"class":1295},[194,1436,1437,1440],{"class":196,"line":499},[194,1438,1439],{"class":243},"    parentRefs",[194,1441,270],{"class":247},[194,1443,1444,1446,1448,1450],{"class":196,"line":505},[194,1445,533],{"class":247},[194,1447,707],{"class":243},[194,1449,248],{"class":247},[194,1451,663],{"class":251},[194,1453,1454,1457,1459],{"class":196,"line":511},[194,1455,1456],{"class":243},"        namespace",[194,1458,248],{"class":247},[194,1460,673],{"class":251},[194,1462,1463,1466,1468],{"class":196,"line":522},[194,1464,1465],{"class":243},"        sectionName",[194,1467,248],{"class":247},[194,1469,712],{"class":251},[194,1471,1472,1475],{"class":196,"line":530},[194,1473,1474],{"class":243},"    hostnames",[194,1476,270],{"class":247},[194,1478,1479,1481],{"class":196,"line":541},[194,1480,533],{"class":247},[194,1482,1483],{"class":251}," grafana.example.com\n",[194,1485,1486],{"class":196,"line":549},[194,1487,411],{"emptyLinePlaceholder":410},[194,1489,1490,1493],{"class":196,"line":560},[194,1491,1492],{"class":243},"grafana.ini",[194,1494,270],{"class":247},[194,1496,1497,1500],{"class":196,"line":571},[194,1498,1499],{"class":243},"  server",[194,1501,270],{"class":247},[194,1503,1504,1507,1509],{"class":196,"line":579},[194,1505,1506],{"class":243},"    root_url",[194,1508,248],{"class":247},[194,1510,1511],{"class":251}," https:\u002F\u002Fgrafana.example.com\n",[194,1513,1514,1517],{"class":196,"line":590},[194,1515,1516],{"class":243},"  provisioning",[194,1518,270],{"class":247},[194,1520,1521],{"class":196,"line":600},[194,1522,1523],{"class":237},"    # allow the proxy's service url over http:\u002F\u002F\n",[194,1525,1526,1529,1531],{"class":196,"line":823},[194,1527,1528],{"class":243},"    allowed_git_urls",[194,1530,248],{"class":247},[194,1532,1533],{"class":251}," git-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\n",[194,1535,1536,1539,1541],{"class":196,"line":833},[194,1537,1538],{"class":243},"    allow_insecure",[194,1540,248],{"class":247},[194,1542,1296],{"class":1295},[194,1544,1545],{"class":196,"line":840},[194,1546,411],{"emptyLinePlaceholder":410},[194,1548,1549,1551],{"class":196,"line":850},[194,1550,1254],{"class":243},[194,1552,270],{"class":247},[194,1554,1555,1557,1559],{"class":196,"line":859},[194,1556,1290],{"class":243},[194,1558,248],{"class":247},[194,1560,1296],{"class":1295},[194,1562,1563,1565,1567],{"class":196,"line":866},[194,1564,1261],{"class":243},[194,1566,248],{"class":247},[194,1568,1569],{"class":251}," 5Gi\n",[184,1571,1573],{"className":186,"code":1572,"language":188,"meta":189,"style":189},"helm repo add grafana-community https:\u002F\u002Fgrafana-community.github.io\u002Fhelm-charts\nhelm install grafana grafana-community\u002Fgrafana --version 14.5.0 -n grafana -f grafana-helm-values.yaml --wait\n",[191,1574,1575,1580],{"__ignoreMap":189},[194,1576,1577],{"class":196,"line":197},[194,1578,1579],{},"helm repo add grafana-community https:\u002F\u002Fgrafana-community.github.io\u002Fhelm-charts\n",[194,1581,1582],{"class":196,"line":203},[194,1583,1584],{},"helm install grafana grafana-community\u002Fgrafana --version 14.5.0 -n grafana -f grafana-helm-values.yaml --wait\n",[106,1586,1588],{"color":108,"icon":1587},"i-lucide-lock",[27,1589,1590,1591,1594,1595,1597],{},"With ",[191,1592,1593],{},"allow_insecure",", Git traffic between Grafana and the proxy crosses the pod network unencrypted. It's good practice to run a container network interface (CNI) that encrypts traffic between pods, such as Cilium, Calico with WireGuard, or a service mesh with mTLS. Then nothing in the cluster travels in cleartext. If you'd rather keep ",[191,1596,1593],{}," off, the bonus section at the end shows how to give the proxy its own HTTPS certificate.",[49,1599,1600,1603,1606,1621,1680,1695,1698,1821],{},[52,1601,1602],{},"Step 3.1: Install Crossplane for IaC",[27,1604,1605],{},"If you want to manage Grafana as code, then install Crossplane and set up the Grafana provider.",[184,1607,1609],{"className":186,"code":1608,"language":188,"meta":189,"style":189},"helm repo add crossplane-stable https:\u002F\u002Fcharts.crossplane.io\u002Fstable\nhelm install crossplane crossplane-stable\u002Fcrossplane --version 2.5.0 -n crossplane-system --create-namespace --wait\n",[191,1610,1611,1616],{"__ignoreMap":189},[194,1612,1613],{"class":196,"line":197},[194,1614,1615],{},"helm repo add crossplane-stable https:\u002F\u002Fcharts.crossplane.io\u002Fstable\n",[194,1617,1618],{"class":196,"line":203},[194,1619,1620],{},"helm install crossplane crossplane-stable\u002Fcrossplane --version 2.5.0 -n crossplane-system --create-namespace --wait\n",[184,1622,1624],{"className":228,"code":1623,"language":230,"meta":189,"style":189},"# provider.yaml\napiVersion: pkg.crossplane.io\u002Fv1\nkind: Provider\nmetadata:\n  name: provider-grafana\nspec:\n  package: xpkg.upbound.io\u002Fgrafana\u002Fprovider-grafana:v2.18.1\n",[191,1625,1626,1631,1640,1649,1655,1664,1670],{"__ignoreMap":189},[194,1627,1628],{"class":196,"line":197},[194,1629,1630],{"class":237},"# provider.yaml\n",[194,1632,1633,1635,1637],{"class":196,"line":203},[194,1634,244],{"class":243},[194,1636,248],{"class":247},[194,1638,1639],{"class":251}," pkg.crossplane.io\u002Fv1\n",[194,1641,1642,1644,1646],{"class":196,"line":209},[194,1643,257],{"class":243},[194,1645,248],{"class":247},[194,1647,1648],{"class":251}," Provider\n",[194,1650,1651,1653],{"class":196,"line":215},[194,1652,267],{"class":243},[194,1654,270],{"class":247},[194,1656,1657,1659,1661],{"class":196,"line":273},[194,1658,276],{"class":243},[194,1660,248],{"class":247},[194,1662,1663],{"class":251}," provider-grafana\n",[194,1665,1666,1668],{"class":196,"line":284},[194,1667,287],{"class":243},[194,1669,270],{"class":247},[194,1671,1672,1675,1677],{"class":196,"line":292},[194,1673,1674],{"class":243},"  package",[194,1676,248],{"class":247},[194,1678,1679],{"class":251}," xpkg.upbound.io\u002Fgrafana\u002Fprovider-grafana:v2.18.1\n",[184,1681,1683],{"className":186,"code":1682,"language":188,"meta":189,"style":189},"kubectl apply -f provider.yaml\nkubectl wait provider.pkg.crossplane.io\u002Fprovider-grafana --for=condition=Healthy --timeout=10m\n",[191,1684,1685,1690],{"__ignoreMap":189},[194,1686,1687],{"class":196,"line":197},[194,1688,1689],{},"kubectl apply -f provider.yaml\n",[194,1691,1692],{"class":196,"line":203},[194,1693,1694],{},"kubectl wait provider.pkg.crossplane.io\u002Fprovider-grafana --for=condition=Healthy --timeout=10m\n",[27,1696,1697],{},"After the provider is ready, configure it to connect to Grafana.",[184,1699,1701],{"className":228,"code":1700,"language":230,"meta":189,"style":189},"# providerconfig.yaml\napiVersion: grafana.m.crossplane.io\u002Fv1beta1\nkind: ProviderConfig\nmetadata:\n  name: grafana\n  namespace: grafana\nspec:\n  url: http:\u002F\u002Fgrafana.grafana.svc\n  credentials:\n    source: Secret\n    secretRef:\n      name: grafana-admin\n      namespace: grafana\n      # `credentials` key of the `grafana-admin` Secret from step 3:\n      key: credentials\n",[191,1702,1703,1708,1717,1726,1732,1741,1749,1755,1765,1772,1782,1789,1797,1806,1811],{"__ignoreMap":189},[194,1704,1705],{"class":196,"line":197},[194,1706,1707],{"class":237},"# providerconfig.yaml\n",[194,1709,1710,1712,1714],{"class":196,"line":203},[194,1711,244],{"class":243},[194,1713,248],{"class":247},[194,1715,1716],{"class":251}," grafana.m.crossplane.io\u002Fv1beta1\n",[194,1718,1719,1721,1723],{"class":196,"line":209},[194,1720,257],{"class":243},[194,1722,248],{"class":247},[194,1724,1725],{"class":251}," ProviderConfig\n",[194,1727,1728,1730],{"class":196,"line":215},[194,1729,267],{"class":243},[194,1731,270],{"class":247},[194,1733,1734,1736,1738],{"class":196,"line":273},[194,1735,276],{"class":243},[194,1737,248],{"class":247},[194,1739,1740],{"class":251}," grafana\n",[194,1742,1743,1745,1747],{"class":196,"line":284},[194,1744,668],{"class":243},[194,1746,248],{"class":247},[194,1748,1740],{"class":251},[194,1750,1751,1753],{"class":196,"line":292},[194,1752,287],{"class":243},[194,1754,270],{"class":247},[194,1756,1757,1760,1762],{"class":196,"line":480},[194,1758,1759],{"class":243},"  url",[194,1761,248],{"class":247},[194,1763,1764],{"class":251}," http:\u002F\u002Fgrafana.grafana.svc\n",[194,1766,1767,1770],{"class":196,"line":491},[194,1768,1769],{"class":243},"  credentials",[194,1771,270],{"class":247},[194,1773,1774,1777,1779],{"class":196,"line":499},[194,1775,1776],{"class":243},"    source",[194,1778,248],{"class":247},[194,1780,1781],{"class":251}," Secret\n",[194,1783,1784,1787],{"class":196,"line":505},[194,1785,1786],{"class":243},"    secretRef",[194,1788,270],{"class":247},[194,1790,1791,1793,1795],{"class":196,"line":511},[194,1792,514],{"class":243},[194,1794,248],{"class":247},[194,1796,1402],{"class":251},[194,1798,1799,1802,1804],{"class":196,"line":522},[194,1800,1801],{"class":243},"      namespace",[194,1803,248],{"class":247},[194,1805,1740],{"class":251},[194,1807,1808],{"class":196,"line":530},[194,1809,1810],{"class":237},"      # `credentials` key of the `grafana-admin` Secret from step 3:\n",[194,1812,1813,1816,1818],{"class":196,"line":541},[194,1814,1815],{"class":243},"      key",[194,1817,248],{"class":247},[194,1819,1820],{"class":251}," credentials\n",[106,1822,1823],{"color":108,"icon":109},[27,1824,1825,1826,1829,1830,1833,1834,1106,1837,1840,1841,1844,1845,1847],{},"The ",[191,1827,1828],{},"credentials"," key also accepts a service account token instead of ",[191,1831,1832],{},"user:password",". You can create the service account from the Grafana UI under ",[380,1835,1836],{},"Administration > Users and access > Service accounts",[128,1838,1839],{},"Admin"," role, create\u002Fcopy a token, and use ",[191,1842,1843],{},"{\"auth\": \"\u003Ctoken>\"}"," as the ",[191,1846,1828],{}," secret value instead.",[114,1849,1851],{"id":1850},"step-4-connect-git-sync-to-the-azure-devops-proxy","Step 4: Connect Git Sync to the Azure DevOps proxy",[27,1853,1854,1855,1858,1859,1862],{},"In Grafana, go to ",[128,1856,1857],{},"Administration > Provisioning",", configure Git Sync with the ",[128,1860,1861],{},"Pure Git"," type, and fill in:",[978,1864,1865,1873],{},[981,1866,1867],{},[984,1868,1869,1871],{},[987,1870,989],{},[987,1872,992],{},[994,1874,1875,1885,1894,1904,1915],{},[984,1876,1877,1880],{},[999,1878,1879],{},"Repository URL",[999,1881,1882],{},[191,1883,1884],{},"http:\u002F\u002Fgit-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\u002Fdashboards.git",[984,1886,1887,1890],{},[999,1888,1889],{},"Branch",[999,1891,1892],{},[191,1893,1027],{},[984,1895,1896,1899],{},[999,1897,1898],{},"Path",[999,1900,1901],{},[191,1902,1903],{},"dashboards\u002F",[984,1905,1906,1909],{},[999,1907,1908],{},"Username",[999,1910,1911,1914],{},[191,1912,1913],{},"git",". Required field but ignored in this example (proxyAuth: none).",[984,1916,1917,1920],{},[999,1918,1919],{},"Token",[999,1921,1922,1914],{},[191,1923,1924],{},"unused",[49,1926,1927,1930,1933,2214,2234],{},[52,1928,1929],{},"As IaC",[27,1931,1932],{},"You can place this file in the same repo created earlier.",[184,1934,1936],{"className":228,"code":1935,"language":230,"meta":189,"style":189},"# grafana\u002Frepositories\u002Fdashboards.yaml\napiVersion: oss.grafana.m.crossplane.io\u002Fv1alpha1\nkind: RepositoryV0Alpha1\nmetadata:\n  name: dashboards\n  namespace: grafana\nspec:\n  providerConfigRef:\n    kind: ProviderConfig\n    name: grafana\n  forProvider:\n    metadata:\n      uid: dashboards   # the repository's name in Grafana\n    spec:\n      title: Dashboards\n      type: git\n      git:\n        url: http:\u002F\u002Fgit-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\u002Fdashboards.git\n        branch: main\n        path: dashboards\u002F\n        tokenUser: git # Required field but ignored in this example (proxyAuth: none)\n      sync:\n        enabled: true\n        target: folder\n        intervalSeconds: 60\n      workflows: [write, branch]   # save to main, or to a new branch for a pull request\n    secure:\n      token:\n        create: unused # Required field but ignored in this example (proxyAuth: none)\n    secureVersion: 1\n",[191,1937,1938,1943,1952,1961,1967,1976,1984,1990,1997,2005,2013,2020,2027,2040,2047,2057,2067,2074,2084,2094,2104,2117,2124,2133,2143,2153,2178,2185,2192,2204],{"__ignoreMap":189},[194,1939,1940],{"class":196,"line":197},[194,1941,1942],{"class":237},"# grafana\u002Frepositories\u002Fdashboards.yaml\n",[194,1944,1945,1947,1949],{"class":196,"line":203},[194,1946,244],{"class":243},[194,1948,248],{"class":247},[194,1950,1951],{"class":251}," oss.grafana.m.crossplane.io\u002Fv1alpha1\n",[194,1953,1954,1956,1958],{"class":196,"line":209},[194,1955,257],{"class":243},[194,1957,248],{"class":247},[194,1959,1960],{"class":251}," RepositoryV0Alpha1\n",[194,1962,1963,1965],{"class":196,"line":215},[194,1964,267],{"class":243},[194,1966,270],{"class":247},[194,1968,1969,1971,1973],{"class":196,"line":273},[194,1970,276],{"class":243},[194,1972,248],{"class":247},[194,1974,1975],{"class":251}," dashboards\n",[194,1977,1978,1980,1982],{"class":196,"line":284},[194,1979,668],{"class":243},[194,1981,248],{"class":247},[194,1983,1740],{"class":251},[194,1985,1986,1988],{"class":196,"line":292},[194,1987,287],{"class":243},[194,1989,270],{"class":247},[194,1991,1992,1995],{"class":196,"line":480},[194,1993,1994],{"class":243},"  providerConfigRef",[194,1996,270],{"class":247},[194,1998,1999,2001,2003],{"class":196,"line":491},[194,2000,887],{"class":243},[194,2002,248],{"class":247},[194,2004,1725],{"class":251},[194,2006,2007,2009,2011],{"class":196,"line":499},[194,2008,897],{"class":243},[194,2010,248],{"class":247},[194,2012,1740],{"class":251},[194,2014,2015,2018],{"class":196,"line":505},[194,2016,2017],{"class":243},"  forProvider",[194,2019,270],{"class":247},[194,2021,2022,2025],{"class":196,"line":511},[194,2023,2024],{"class":243},"    metadata",[194,2026,270],{"class":247},[194,2028,2029,2032,2034,2037],{"class":196,"line":522},[194,2030,2031],{"class":243},"      uid",[194,2033,248],{"class":247},[194,2035,2036],{"class":251}," dashboards",[194,2038,2039],{"class":237},"   # the repository's name in Grafana\n",[194,2041,2042,2045],{"class":196,"line":530},[194,2043,2044],{"class":243},"    spec",[194,2046,270],{"class":247},[194,2048,2049,2052,2054],{"class":196,"line":541},[194,2050,2051],{"class":243},"      title",[194,2053,248],{"class":247},[194,2055,2056],{"class":251}," Dashboards\n",[194,2058,2059,2062,2064],{"class":196,"line":549},[194,2060,2061],{"class":243},"      type",[194,2063,248],{"class":247},[194,2065,2066],{"class":251}," git\n",[194,2068,2069,2072],{"class":196,"line":560},[194,2070,2071],{"class":243},"      git",[194,2073,270],{"class":247},[194,2075,2076,2079,2081],{"class":196,"line":571},[194,2077,2078],{"class":243},"        url",[194,2080,248],{"class":247},[194,2082,2083],{"class":251}," http:\u002F\u002Fgit-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\u002Fdashboards.git\n",[194,2085,2086,2089,2091],{"class":196,"line":579},[194,2087,2088],{"class":243},"        branch",[194,2090,248],{"class":247},[194,2092,2093],{"class":251}," main\n",[194,2095,2096,2099,2101],{"class":196,"line":590},[194,2097,2098],{"class":243},"        path",[194,2100,248],{"class":247},[194,2102,2103],{"class":251}," dashboards\u002F\n",[194,2105,2106,2109,2111,2114],{"class":196,"line":600},[194,2107,2108],{"class":243},"        tokenUser",[194,2110,248],{"class":247},[194,2112,2113],{"class":251}," git",[194,2115,2116],{"class":237}," # Required field but ignored in this example (proxyAuth: none)\n",[194,2118,2119,2122],{"class":196,"line":823},[194,2120,2121],{"class":243},"      sync",[194,2123,270],{"class":247},[194,2125,2126,2129,2131],{"class":196,"line":833},[194,2127,2128],{"class":243},"        enabled",[194,2130,248],{"class":247},[194,2132,1296],{"class":1295},[194,2134,2135,2138,2140],{"class":196,"line":840},[194,2136,2137],{"class":243},"        target",[194,2139,248],{"class":247},[194,2141,2142],{"class":251}," folder\n",[194,2144,2145,2148,2150],{"class":196,"line":850},[194,2146,2147],{"class":243},"        intervalSeconds",[194,2149,248],{"class":247},[194,2151,2152],{"class":732}," 60\n",[194,2154,2155,2158,2160,2163,2166,2169,2172,2175],{"class":196,"line":859},[194,2156,2157],{"class":243},"      workflows",[194,2159,248],{"class":247},[194,2161,2162],{"class":247}," [",[194,2164,2165],{"class":251},"write",[194,2167,2168],{"class":247},",",[194,2170,2171],{"class":251}," branch",[194,2173,2174],{"class":247},"]",[194,2176,2177],{"class":237},"   # save to main, or to a new branch for a pull request\n",[194,2179,2180,2183],{"class":196,"line":866},[194,2181,2182],{"class":243},"    secure",[194,2184,270],{"class":247},[194,2186,2187,2190],{"class":196,"line":876},[194,2188,2189],{"class":243},"      token",[194,2191,270],{"class":247},[194,2193,2194,2197,2199,2202],{"class":196,"line":884},[194,2195,2196],{"class":243},"        create",[194,2198,248],{"class":247},[194,2200,2201],{"class":251}," unused",[194,2203,2116],{"class":237},[194,2205,2206,2209,2211],{"class":196,"line":894},[194,2207,2208],{"class":243},"    secureVersion",[194,2210,248],{"class":247},[194,2212,2213],{"class":732}," 1\n",[184,2215,2217],{"className":186,"code":2216,"language":188,"meta":189,"style":189},"kubectl apply -f providerconfig.yaml -f grafana\u002Frepositories\u002Fdashboards.yaml\n# Check that SYNCED and READY are True.\nkubectl -n grafana get repositoryv0alpha1.oss.grafana.m.crossplane.io\n",[191,2218,2219,2224,2229],{"__ignoreMap":189},[194,2220,2221],{"class":196,"line":197},[194,2222,2223],{},"kubectl apply -f providerconfig.yaml -f grafana\u002Frepositories\u002Fdashboards.yaml\n",[194,2225,2226],{"class":196,"line":203},[194,2227,2228],{},"# Check that SYNCED and READY are True.\n",[194,2230,2231],{"class":196,"line":209},[194,2232,2233],{},"kubectl -n grafana get repositoryv0alpha1.oss.grafana.m.crossplane.io\n",[106,2235,2236],{"color":108,"icon":109},[27,2237,2238,2239,2242,2243,2246,2247,63,2249,2252,2253,2256,2257,378,2262,2265,2266,2271],{},"You can also skip Crossplane and apply the repository straight to Grafana. It's a Grafana resource of its own, ",[191,2240,2241],{},"kind: Repository"," with ",[191,2244,2245],{},"apiVersion: provisioning.grafana.app\u002Fv0alpha1",", with the same ",[191,2248,287],{},[191,2250,2251],{},"secure"," fields as ",[191,2254,2255],{},"forProvider"," above. Push the manifest with ",[38,2258,2261],{"href":2259,"rel":2260},"https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fgcx",[42],"gcx",[191,2263,2264],{},"gcx resources push --path \u003Cfolder>","). Grafana's ",[38,2267,2270],{"href":2268,"rel":2269},"https:\u002F\u002Fgrafana.com\u002Fdocs\u002Fgrafana\u002Flatest\u002Fas-code\u002Fgit-sync\u002Fgit-sync-setup\u002Fset-up-code\u002F",[42],"Git Sync as code guide"," has a full example for a GitHub repository.",[27,2273,2274,2275,2278,2279,2281],{},"Within a minute the repository should turn healthy, and a ",[128,2276,2277],{},"Dashboards"," folder for it shows up under ",[380,2280,2277],{},". It's empty, because the repository has no dashboards yet.",[114,2283,2285],{"id":2284},"step-5-save-your-first-dashboard-to-the-repository","Step 5: Save your first dashboard to the repository",[27,2287,2288,2289,2291,2292,2295],{},"Open the ",[128,2290,2277],{}," folder, select ",[128,2293,2294],{},"Create dashboard"," and create the dashboard as you please:",[27,2297,2298],{},[2299,2300],"img",{"alt":2301,"src":2302},"The empty Dashboards folder that Git Sync created, with a Create dashboard button.","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fscreenshots\u002Fempty-folder.png",[27,2304,2305],{},"In this example, we use Grafana's built-in TestData data source.",[27,2307,2308],{},[2299,2309],{"alt":2310,"src":2311},"The panel editor with a Time series panel titled Requests per second, drawing data from the TestData data source.","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fscreenshots\u002Fnew-panel.png",[27,2313,2314,2315,2318],{},"Select ",[128,2316,2317],{},"Save",". The folder belongs to the repository, so the save drawer will ask where to put the file in Git:",[978,2320,2321,2329],{},[981,2322,2323],{},[984,2324,2325,2327],{},[987,2326,989],{},[987,2328,992],{},[994,2330,2331,2341,2350,2364,2379],{},[984,2332,2333,2336],{},[999,2334,2335],{},"Title",[999,2337,2338],{},[191,2339,2340],{},"Service health",[984,2342,2343,2345],{},[999,2344,1889],{},[999,2346,2347,2349],{},[191,2348,1027],{},". Type a new branch name instead to save to a branch for a pull request.",[984,2351,2352,2355],{},[999,2353,2354],{},"Repository folder",[999,2356,2357,2360,2361,2363],{},[191,2358,2359],{},"platform",". A folder inside ",[191,2362,1903],{},"; Grafana creates it.",[984,2365,2366,2369],{},[999,2367,2368],{},"Filename",[999,2370,2371,2374,2375,2378],{},[191,2372,2373],{},"service-health.yaml",". Use ",[191,2376,2377],{},".json"," if you prefer JSON.",[984,2380,2381,2384],{},[999,2382,2383],{},"Comment",[999,2385,2386,2389],{},[191,2387,2388],{},"Add the Service health dashboard",". This is the commit message.",[27,2391,2392],{},[2299,2393],{"alt":2394,"src":2395},"The Save dashboard drawer with the title Service health, branch main, repository folder platform, filename service-health.yaml and a commit comment.","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fscreenshots\u002Fsave-dashboard.png",[27,2397,2314,2398,2400,2401,2404,2405,2407],{},[128,2399,2317],{},". Grafana commits the dashboard through the proxy with your Grafana user as the author. In this example, Grafana also commits ",[191,2402,2403],{},"dashboards\u002Fplatform\u002F_folder.json",", which holds the ",[191,2406,2359],{}," folder's name and ID.",[27,2409,2410],{},[2299,2411],{"alt":2412,"src":2413},"The saved Service health dashboard with its Requests per second and Error rate panels, inside the platform folder of the Dashboards folder.","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fscreenshots\u002Fsaved-dashboard.png",[27,2415,2416],{},"From now on, it works both ways: edit the dashboard in Grafana and save it for a new commit, or change the file in Azure DevOps and Git Sync updates the dashboard in Grafana.",[106,2418,2420],{"color":108,"icon":2419},"i-lucide-timer",[27,2421,2422,2423,2425,2426,2429],{},"Changes pushed to Azure DevOps reach Grafana after up to ",[191,2424,1237],{}," (the proxy) plus ",[191,2427,2428],{},"intervalSeconds"," (Git Sync).",[93,2431,2433],{"id":2432},"implementing-grafana-git-sync-pr-preview","Implementing Grafana Git Sync PR Preview",[27,2435,2436,2439],{},[38,2437,68],{"href":66,"rel":2438},[42]," is an Azure Pipelines extension that brings the \"pull request comments with dashboard preview\" feature into Azure DevOps. A preview link opens the Grafana preview page that matches the pull request branch.",[114,2441,2443],{"id":2442},"step-1-install-the-extension","Step 1: Install the extension",[27,2445,2446,2447,2450],{},"Install ",[38,2448,68],{"href":66,"rel":2449},[42]," in your Azure DevOps organization.",[27,2452,2453,2454,2457,2458,2460,175,2467,2469],{},"Give the project's build service \"",[128,2455,2456],{},"Contribute to pull requests","\" permission on the repository:",[31,2459],{},[380,2461,2462,2463,2466],{},"Project settings > Repositories > dashboards > Security > ",[191,2464,2465],{},"\u003Cproject>"," Build Service",[31,2468],{},"\nThis is the only permission the task needs.",[114,2471,2473],{"id":2472},"step-2-add-the-pipeline","Step 2: Add the pipeline",[27,2475,2476,2477,2480],{},"In the Azure DevOps repo, add an Azure Pipelines file with the ",[191,2478,2479],{},"GrafanaGitSyncPreview"," task:",[184,2482,2484],{"className":228,"code":2483,"language":230,"meta":189,"style":189},"# azure-pipelines.yml\ntrigger: none\n\npool:\n  vmImage: ubuntu-latest\n\nsteps:\n  - checkout: self\n    fetchDepth: 2   # the task diffs HEAD against HEAD^1, the target branch\n\n  - task: GrafanaGitSyncPreview@1\n    inputs:\n      grafanaUrl: https:\u002F\u002Fgrafana.example.com\n      repositorySource: inline\n      # \u003Cfolder path in this repo>=\u003CGit Sync repository name in Grafana>, one per line\n      repositories: |\n        dashboards=dashboards\n",[191,2485,2486,2491,2500,2504,2511,2521,2525,2532,2544,2557,2561,2573,2580,2589,2599,2604,2615],{"__ignoreMap":189},[194,2487,2488],{"class":196,"line":197},[194,2489,2490],{"class":237},"# azure-pipelines.yml\n",[194,2492,2493,2496,2498],{"class":196,"line":203},[194,2494,2495],{"class":243},"trigger",[194,2497,248],{"class":247},[194,2499,1228],{"class":251},[194,2501,2502],{"class":196,"line":209},[194,2503,411],{"emptyLinePlaceholder":410},[194,2505,2506,2509],{"class":196,"line":215},[194,2507,2508],{"class":243},"pool",[194,2510,270],{"class":247},[194,2512,2513,2516,2518],{"class":196,"line":273},[194,2514,2515],{"class":243},"  vmImage",[194,2517,248],{"class":247},[194,2519,2520],{"class":251}," ubuntu-latest\n",[194,2522,2523],{"class":196,"line":284},[194,2524,411],{"emptyLinePlaceholder":410},[194,2526,2527,2530],{"class":196,"line":292},[194,2528,2529],{"class":243},"steps",[194,2531,270],{"class":247},[194,2533,2534,2536,2539,2541],{"class":196,"line":480},[194,2535,1162],{"class":247},[194,2537,2538],{"class":243}," checkout",[194,2540,248],{"class":247},[194,2542,2543],{"class":251}," self\n",[194,2545,2546,2549,2551,2554],{"class":196,"line":491},[194,2547,2548],{"class":243},"    fetchDepth",[194,2550,248],{"class":247},[194,2552,2553],{"class":732}," 2",[194,2555,2556],{"class":237},"   # the task diffs HEAD against HEAD^1, the target branch\n",[194,2558,2559],{"class":196,"line":499},[194,2560,411],{"emptyLinePlaceholder":410},[194,2562,2563,2565,2568,2570],{"class":196,"line":505},[194,2564,1162],{"class":247},[194,2566,2567],{"class":243}," task",[194,2569,248],{"class":247},[194,2571,2572],{"class":251}," GrafanaGitSyncPreview@1\n",[194,2574,2575,2578],{"class":196,"line":511},[194,2576,2577],{"class":243},"    inputs",[194,2579,270],{"class":247},[194,2581,2582,2585,2587],{"class":196,"line":522},[194,2583,2584],{"class":243},"      grafanaUrl",[194,2586,248],{"class":247},[194,2588,1511],{"class":251},[194,2590,2591,2594,2596],{"class":196,"line":530},[194,2592,2593],{"class":243},"      repositorySource",[194,2595,248],{"class":247},[194,2597,2598],{"class":251}," inline\n",[194,2600,2601],{"class":196,"line":541},[194,2602,2603],{"class":237},"      # \u003Cfolder path in this repo>=\u003CGit Sync repository name in Grafana>, one per line\n",[194,2605,2606,2609,2611],{"class":196,"line":549},[194,2607,2608],{"class":243},"      repositories",[194,2610,248],{"class":247},[194,2612,2614],{"class":2613},"sVHd0"," |\n",[194,2616,2617],{"class":196,"line":560},[194,2618,2619],{"class":251},"        dashboards=dashboards\n",[27,2621,2622],{},"The repo's structure should now look like this:",[184,2624,2629],{"className":2625,"code":2627,"language":2628,"meta":189},[2626],"language-text","dashboards\u002F\n  platform\u002F_folder.json\n  platform\u002Fservice-health.yaml\nazure-pipelines.yml # we just added this\n","text",[191,2630,2627],{"__ignoreMap":189},[49,2632,2633,2636,2651,2690],{},[52,2634,2635],{},"Or read the Crossplane repository file",[27,2637,2638,2639,2642,2643,2646,2647,2650],{},"If you went with the As IaC option (",[191,2640,2641],{},"RepositoryV0Alpha1.oss.grafana.m.crossplane.io"," or ",[191,2644,2645],{},"Repository.provisioning.grafana.app",") in step 4, the task can read the mapping directly from it using the ",[191,2648,2649],{},"repositoriesFile"," key:",[184,2652,2654],{"className":228,"code":2653,"language":230,"meta":189,"style":189},"  - task: GrafanaGitSyncPreview@1\n    inputs:\n      grafanaUrl: https:\u002F\u002Fgrafana.example.com\n      repositoriesFile: grafana\u002Frepositories\u002F*.yaml\n",[191,2655,2656,2666,2672,2680],{"__ignoreMap":189},[194,2657,2658,2660,2662,2664],{"class":196,"line":197},[194,2659,1162],{"class":247},[194,2661,2567],{"class":243},[194,2663,248],{"class":247},[194,2665,2572],{"class":251},[194,2667,2668,2670],{"class":196,"line":203},[194,2669,2577],{"class":243},[194,2671,270],{"class":247},[194,2673,2674,2676,2678],{"class":196,"line":209},[194,2675,2584],{"class":243},[194,2677,248],{"class":247},[194,2679,1511],{"class":251},[194,2681,2682,2685,2687],{"class":196,"line":215},[194,2683,2684],{"class":243},"      repositoriesFile",[194,2686,248],{"class":247},[194,2688,2689],{"class":251}," grafana\u002Frepositories\u002F*.yaml\n",[27,2691,2692,2693,2696,2697,2700,2701,2704],{},"It takes the folder from ",[191,2694,2695],{},"spec.git.path",", the Grafana repository name from ",[191,2698,2699],{},"metadata.uid",", and the synced branch from ",[191,2702,2703],{},"spec.git.branch",". This approach is more aligned with the single source of truth pattern.",[27,2706,2707,2708,2711,2712,378,2714,2717,2718,2721],{},"In Azure DevOps, create a pipeline from this file, then add it as a ",[128,2709,2710],{},"build validation"," policy on ",[191,2713,1027],{},[380,2715,2716],{},"Project settings > Repositories > dashboards > Policies > main","). Azure Repos ignores the YAML ",[191,2719,2720],{},"pr:"," trigger, so the policy is what runs it on every pull request.",[49,2723,2724,2726,2736,2813],{},[52,2725,1039],{},[27,2727,2728,2729,2732,2733,2735],{},"Push ",[191,2730,2731],{},"azure-pipelines.yml"," to ",[191,2734,1027],{}," first, then create the pipeline and the policy:",[184,2737,2739],{"className":186,"code":2738,"language":188,"meta":189,"style":189},"ORG=https:\u002F\u002Fdev.azure.com\u002Fcontoso\nPROJECT=Monitoring\n\nPIPELINE_ID=$(az pipelines create --org $ORG --project $PROJECT \\\n  --name dashboards-preview --repository dashboards --repository-type tfsgit \\\n  --branch main --yml-path azure-pipelines.yml --skip-first-run true \\\n  --query id -o tsv)\n\nREPO_ID=$(az repos show --org $ORG --project $PROJECT --repository dashboards --query id -o tsv)\n\naz repos policy build create --org $ORG --project $PROJECT \\\n  --repository-id $REPO_ID --branch main \\\n  --build-definition-id $PIPELINE_ID --display-name \"Grafana dashboard previews\" \\\n  --blocking true --enabled true \\\n  --manual-queue-only false --queue-on-source-update-only false --valid-duration 0\n",[191,2740,2741,2746,2751,2755,2760,2765,2770,2775,2779,2784,2788,2793,2798,2803,2808],{"__ignoreMap":189},[194,2742,2743],{"class":196,"line":197},[194,2744,2745],{},"ORG=https:\u002F\u002Fdev.azure.com\u002Fcontoso\n",[194,2747,2748],{"class":196,"line":203},[194,2749,2750],{},"PROJECT=Monitoring\n",[194,2752,2753],{"class":196,"line":209},[194,2754,411],{"emptyLinePlaceholder":410},[194,2756,2757],{"class":196,"line":215},[194,2758,2759],{},"PIPELINE_ID=$(az pipelines create --org $ORG --project $PROJECT \\\n",[194,2761,2762],{"class":196,"line":273},[194,2763,2764],{},"  --name dashboards-preview --repository dashboards --repository-type tfsgit \\\n",[194,2766,2767],{"class":196,"line":284},[194,2768,2769],{},"  --branch main --yml-path azure-pipelines.yml --skip-first-run true \\\n",[194,2771,2772],{"class":196,"line":292},[194,2773,2774],{},"  --query id -o tsv)\n",[194,2776,2777],{"class":196,"line":480},[194,2778,411],{"emptyLinePlaceholder":410},[194,2780,2781],{"class":196,"line":491},[194,2782,2783],{},"REPO_ID=$(az repos show --org $ORG --project $PROJECT --repository dashboards --query id -o tsv)\n",[194,2785,2786],{"class":196,"line":499},[194,2787,411],{"emptyLinePlaceholder":410},[194,2789,2790],{"class":196,"line":505},[194,2791,2792],{},"az repos policy build create --org $ORG --project $PROJECT \\\n",[194,2794,2795],{"class":196,"line":511},[194,2796,2797],{},"  --repository-id $REPO_ID --branch main \\\n",[194,2799,2800],{"class":196,"line":522},[194,2801,2802],{},"  --build-definition-id $PIPELINE_ID --display-name \"Grafana dashboard previews\" \\\n",[194,2804,2805],{"class":196,"line":530},[194,2806,2807],{},"  --blocking true --enabled true \\\n",[194,2809,2810],{"class":196,"line":541},[194,2811,2812],{},"  --manual-queue-only false --queue-on-source-update-only false --valid-duration 0\n",[27,2814,2815,2818,2819,2822],{},[191,2816,2817],{},"--blocking true"," makes the run a required check, so a pull request with a broken dashboard can't complete. ",[191,2820,2821],{},"--valid-duration 0"," keeps a successful run valid until the next push.",[114,2824,2826],{"id":2825},"step-3-open-a-pull-request","Step 3: Open a pull request",[27,2828,2829,2830,2832,2833,2835],{},"Change a dashboard in the UI or via code and push\u002Fsave it to a branch.",[31,2831],{},"\nOpen a pull request into ",[191,2834,1027],{},". Watch the build validation run. After it's done, a comment will appear on the PR similar to this:",[2837,2838,2839,2845,2897],"blockquote",{},[27,2840,2841,2842],{},"📊 ",[128,2843,2844],{},"Grafana dashboard changes in this pull request",[978,2846,2847,2860],{},[981,2848,2849],{},[984,2850,2851,2854,2857],{},[987,2852,2853],{},"Dashboard",[987,2855,2856],{},"Change",[987,2858,2859],{},"Links",[994,2861,2862,2879],{},[984,2863,2864,2873,2876],{},[999,2865,2866,2868,2870],{},[128,2867,2340],{},[31,2869],{},[191,2871,2872],{},"dashboards\u002Fplatform\u002Fservice-health.yaml",[999,2874,2875],{},"modified",[999,2877,2878],{},"current · preview",[984,2880,2881,2891,2894],{},[999,2882,2883,2886,2888],{},[128,2884,2885],{},"Checkout funnel",[31,2887],{},[191,2889,2890],{},"dashboards\u002Fshop\u002Fcheckout-funnel.yaml",[999,2892,2893],{},"added",[999,2895,2896],{},"preview",[27,2898,2899,2900,2903],{},"Previews render ",[191,2901,2902],{},"\u003Cbranch>"," without saving anything to Grafana. A new push can take a minute to reach the preview.",[27,2905,2906,2909,2910,2912],{},[128,2907,2908],{},"current"," opens the live dashboard. ",[128,2911,2896],{}," opens the dashboard from the pull request branch, with a button that leads back to the pull request:",[27,2914,2915],{},[2299,2916],{"alt":2917,"src":2918},"Grafana preview of the Service health dashboard from the pull request branch. The new p95 latency panel shows under the existing Requests per second and Error rate panels, and a banner offers View saved version and View pull request in repository.","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fscreenshots\u002Fpreview-modified.png",[27,2920,2921],{},"A dashboard that only exists on the branch gets a preview too:",[27,2923,2924],{},[2299,2925],{"alt":2926,"src":2927},"Grafana preview of the new Checkout funnel dashboard, with Orders, Carts and Payments stats above a Conversion chart, and a banner saying the resource is loaded from the branch with a View pull request in repository button.","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fscreenshots\u002Fpreview-added.png",[106,2929,2931],{"color":108,"icon":2930},"i-lucide-git-branch",[27,2932,2933],{},"You can also run the pipeline on any branch. The task then lists every dashboard on that branch, with preview links, on the run's summary page.",[93,2935,2937],{"id":2936},"wrapping-up","Wrapping up",[27,2939,2940],{},"Azure DevOps may not be on Grafana's official list of supported providers, but with the azuredevops-proxy and git-sync-preview, it gets the Git Sync experience. Both projects are open source, so if you would like any feature added, issues and pull requests are your friends.",[49,2942,2943,2946,2952,2969,3329,3344,3368,3388,3401,3531,3550,3563,3566,3573,3607],{},[52,2944,2945],{},"Bonus: HTTPS inside the cluster",[27,2947,2948,2949,2951],{},"If your cluster network does not come with encryption and you don't want to use ",[191,2950,1593],{}," in the Grafana setup, use an internal certificate in the cluster.",[27,2953,2954,2955,2958,2959,2958,2962,2965,2966,248],{},"You'll need a ",[128,2956,2957],{},"self-signed issuer",", a ",[128,2960,2961],{},"root certificate",[128,2963,2964],{},"CA issuer"," and the ",[128,2967,2968],{},"proxy's certificate",[184,2970,2972],{"className":228,"code":2971,"language":230,"meta":189,"style":189},"# internal-ca.yaml\napiVersion: cert-manager.io\u002Fv1\nkind: ClusterIssuer\nmetadata:\n  name: selfsigned\nspec:\n  selfSigned: {}\n---\napiVersion: cert-manager.io\u002Fv1\nkind: Certificate\nmetadata:\n  name: internal-root-ca\n  namespace: cert-manager   # a CA ClusterIssuer reads its Secret from here\nspec:\n  isCA: true\n  commonName: Internal Root CA\n  secretName: internal-root-ca\n  duration: 87600h   # 10 years\n  privateKey:\n    algorithm: ECDSA\n    size: 256\n  issuerRef:\n    kind: ClusterIssuer\n    name: selfsigned\n---\napiVersion: cert-manager.io\u002Fv1\nkind: ClusterIssuer\nmetadata:\n  name: internal-ca\nspec:\n  ca:\n    secretName: internal-root-ca\n---\napiVersion: cert-manager.io\u002Fv1\nkind: Certificate\nmetadata:\n  name: git-proxy-internal-tls\n  namespace: grafana\nspec:\n  secretName: git-proxy-internal-tls\n  dnsNames:\n    - git-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\n  issuerRef:\n    kind: ClusterIssuer\n    name: internal-ca\n",[191,2973,2974,2979,2987,2995,3001,3010,3016,3026,3030,3038,3046,3052,3061,3073,3079,3088,3098,3106,3119,3126,3136,3146,3152,3160,3168,3172,3180,3188,3194,3203,3209,3216,3225,3230,3239,3248,3255,3265,3274,3281,3290,3297,3304,3311,3320],{"__ignoreMap":189},[194,2975,2976],{"class":196,"line":197},[194,2977,2978],{"class":237},"# internal-ca.yaml\n",[194,2980,2981,2983,2985],{"class":196,"line":203},[194,2982,244],{"class":243},[194,2984,248],{"class":247},[194,2986,440],{"class":251},[194,2988,2989,2991,2993],{"class":196,"line":209},[194,2990,257],{"class":243},[194,2992,248],{"class":247},[194,2994,449],{"class":251},[194,2996,2997,2999],{"class":196,"line":215},[194,2998,267],{"class":243},[194,3000,270],{"class":247},[194,3002,3003,3005,3007],{"class":196,"line":273},[194,3004,276],{"class":243},[194,3006,248],{"class":247},[194,3008,3009],{"class":251}," selfsigned\n",[194,3011,3012,3014],{"class":196,"line":284},[194,3013,287],{"class":243},[194,3015,270],{"class":247},[194,3017,3018,3021,3023],{"class":196,"line":292},[194,3019,3020],{"class":243},"  selfSigned",[194,3022,248],{"class":247},[194,3024,3025],{"class":247}," {}\n",[194,3027,3028],{"class":196,"line":480},[194,3029,812],{"class":811},[194,3031,3032,3034,3036],{"class":196,"line":491},[194,3033,244],{"class":243},[194,3035,248],{"class":247},[194,3037,440],{"class":251},[194,3039,3040,3042,3044],{"class":196,"line":499},[194,3041,257],{"class":243},[194,3043,248],{"class":247},[194,3045,830],{"class":251},[194,3047,3048,3050],{"class":196,"line":505},[194,3049,267],{"class":243},[194,3051,270],{"class":247},[194,3053,3054,3056,3058],{"class":196,"line":511},[194,3055,276],{"class":243},[194,3057,248],{"class":247},[194,3059,3060],{"class":251}," internal-root-ca\n",[194,3062,3063,3065,3067,3070],{"class":196,"line":522},[194,3064,668],{"class":243},[194,3066,248],{"class":247},[194,3068,3069],{"class":251}," cert-manager",[194,3071,3072],{"class":237},"   # a CA ClusterIssuer reads its Secret from here\n",[194,3074,3075,3077],{"class":196,"line":530},[194,3076,287],{"class":243},[194,3078,270],{"class":247},[194,3080,3081,3084,3086],{"class":196,"line":541},[194,3082,3083],{"class":243},"  isCA",[194,3085,248],{"class":247},[194,3087,1296],{"class":1295},[194,3089,3090,3093,3095],{"class":196,"line":549},[194,3091,3092],{"class":243},"  commonName",[194,3094,248],{"class":247},[194,3096,3097],{"class":251}," Internal Root CA\n",[194,3099,3100,3102,3104],{"class":196,"line":560},[194,3101,869],{"class":243},[194,3103,248],{"class":247},[194,3105,3060],{"class":251},[194,3107,3108,3111,3113,3116],{"class":196,"line":571},[194,3109,3110],{"class":243},"  duration",[194,3112,248],{"class":247},[194,3114,3115],{"class":251}," 87600h",[194,3117,3118],{"class":237},"   # 10 years\n",[194,3120,3121,3124],{"class":196,"line":579},[194,3122,3123],{"class":243},"  privateKey",[194,3125,270],{"class":247},[194,3127,3128,3131,3133],{"class":196,"line":590},[194,3129,3130],{"class":243},"    algorithm",[194,3132,248],{"class":247},[194,3134,3135],{"class":251}," ECDSA\n",[194,3137,3138,3141,3143],{"class":196,"line":600},[194,3139,3140],{"class":243},"    size",[194,3142,248],{"class":247},[194,3144,3145],{"class":732}," 256\n",[194,3147,3148,3150],{"class":196,"line":823},[194,3149,879],{"class":243},[194,3151,270],{"class":247},[194,3153,3154,3156,3158],{"class":196,"line":833},[194,3155,887],{"class":243},[194,3157,248],{"class":247},[194,3159,449],{"class":251},[194,3161,3162,3164,3166],{"class":196,"line":840},[194,3163,897],{"class":243},[194,3165,248],{"class":247},[194,3167,3009],{"class":251},[194,3169,3170],{"class":196,"line":850},[194,3171,812],{"class":811},[194,3173,3174,3176,3178],{"class":196,"line":859},[194,3175,244],{"class":243},[194,3177,248],{"class":247},[194,3179,440],{"class":251},[194,3181,3182,3184,3186],{"class":196,"line":866},[194,3183,257],{"class":243},[194,3185,248],{"class":247},[194,3187,449],{"class":251},[194,3189,3190,3192],{"class":196,"line":876},[194,3191,267],{"class":243},[194,3193,270],{"class":247},[194,3195,3196,3198,3200],{"class":196,"line":884},[194,3197,276],{"class":243},[194,3199,248],{"class":247},[194,3201,3202],{"class":251}," internal-ca\n",[194,3204,3205,3207],{"class":196,"line":894},[194,3206,287],{"class":243},[194,3208,270],{"class":247},[194,3210,3211,3214],{"class":196,"line":904},[194,3212,3213],{"class":243},"  ca",[194,3215,270],{"class":247},[194,3217,3218,3221,3223],{"class":196,"line":912},[194,3219,3220],{"class":243},"    secretName",[194,3222,248],{"class":247},[194,3224,3060],{"class":251},[194,3226,3228],{"class":196,"line":3227},33,[194,3229,812],{"class":811},[194,3231,3233,3235,3237],{"class":196,"line":3232},34,[194,3234,244],{"class":243},[194,3236,248],{"class":247},[194,3238,440],{"class":251},[194,3240,3242,3244,3246],{"class":196,"line":3241},35,[194,3243,257],{"class":243},[194,3245,248],{"class":247},[194,3247,830],{"class":251},[194,3249,3251,3253],{"class":196,"line":3250},36,[194,3252,267],{"class":243},[194,3254,270],{"class":247},[194,3256,3258,3260,3262],{"class":196,"line":3257},37,[194,3259,276],{"class":243},[194,3261,248],{"class":247},[194,3263,3264],{"class":251}," git-proxy-internal-tls\n",[194,3266,3268,3270,3272],{"class":196,"line":3267},38,[194,3269,668],{"class":243},[194,3271,248],{"class":247},[194,3273,1740],{"class":251},[194,3275,3277,3279],{"class":196,"line":3276},39,[194,3278,287],{"class":243},[194,3280,270],{"class":247},[194,3282,3284,3286,3288],{"class":196,"line":3283},40,[194,3285,869],{"class":243},[194,3287,248],{"class":247},[194,3289,3264],{"class":251},[194,3291,3293,3295],{"class":196,"line":3292},41,[194,3294,907],{"class":243},[194,3296,270],{"class":247},[194,3298,3300,3302],{"class":196,"line":3299},42,[194,3301,704],{"class":247},[194,3303,1533],{"class":251},[194,3305,3307,3309],{"class":196,"line":3306},43,[194,3308,879],{"class":243},[194,3310,270],{"class":247},[194,3312,3314,3316,3318],{"class":196,"line":3313},44,[194,3315,887],{"class":243},[194,3317,248],{"class":247},[194,3319,449],{"class":251},[194,3321,3323,3325,3327],{"class":196,"line":3322},45,[194,3324,897],{"class":243},[194,3326,248],{"class":247},[194,3328,3202],{"class":251},[184,3330,3332],{"className":186,"code":3331,"language":188,"meta":189,"style":189},"kubectl apply -f internal-ca.yaml\nkubectl -n grafana wait certificate\u002Fgit-proxy-internal-tls --for=condition=Ready\n",[191,3333,3334,3339],{"__ignoreMap":189},[194,3335,3336],{"class":196,"line":197},[194,3337,3338],{},"kubectl apply -f internal-ca.yaml\n",[194,3340,3341],{"class":196,"line":203},[194,3342,3343],{},"kubectl -n grafana wait certificate\u002Fgit-proxy-internal-tls --for=condition=Ready\n",[27,3345,3346,3347,63,3350,3353,3354,3357,3358,3361,3362,248],{},"The certificate creates a secret that holds ",[191,3348,3349],{},"tls.crt",[191,3351,3352],{},"tls.key"," for the proxy, and ",[191,3355,3356],{},"ca.crt",", for Grafana to trust it. Add the Secret to ",[191,3359,3360],{},"git-proxy-helm-values.yaml",". ",[128,3363,3364,3365],{},"This will make the proxy change its service to its HTTPS port ",[191,3366,3367],{},"8443",[184,3369,3371],{"className":228,"code":3370,"language":230,"meta":189,"style":189},"tls:\n  existingSecret: git-proxy-internal-tls\n",[191,3372,3373,3380],{"__ignoreMap":189},[194,3374,3375,3378],{"class":196,"line":197},[194,3376,3377],{"class":243},"tls",[194,3379,270],{"class":247},[194,3381,3382,3384,3386],{"class":196,"line":203},[194,3383,1397],{"class":243},[194,3385,248],{"class":247},[194,3387,3264],{"class":251},[27,3389,3390,3391,3394,3395,3397,3398,3400],{},"In ",[191,3392,3393],{},"grafana-helm-values.yaml",", turn ",[191,3396,1593],{}," off and give Grafana the ",[191,3399,3356],{}," from that Secret:",[184,3402,3404],{"className":228,"code":3403,"language":230,"meta":189,"style":189},"grafana.ini:\n  provisioning:\n    allowed_git_urls: git-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local\n    allow_insecure: false\n\nextraSecretMounts:\n  - name: internal-ca\n    secretName: git-proxy-internal-tls\n    mountPath: \u002Fetc\u002Fgrafana\u002Finternal-ca\n    readOnly: true\n    items:\n      - key: ca.crt\n        path: ca.crt\n\nenv:\n  SSL_CERT_DIR: \u002Fetc\u002Fssl\u002Fcerts:\u002Fetc\u002Fgrafana\u002Finternal-ca\n",[191,3405,3406,3412,3418,3426,3435,3439,3446,3456,3464,3474,3483,3490,3502,3510,3514,3521],{"__ignoreMap":189},[194,3407,3408,3410],{"class":196,"line":197},[194,3409,1492],{"class":243},[194,3411,270],{"class":247},[194,3413,3414,3416],{"class":196,"line":203},[194,3415,1516],{"class":243},[194,3417,270],{"class":247},[194,3419,3420,3422,3424],{"class":196,"line":209},[194,3421,1528],{"class":243},[194,3423,248],{"class":247},[194,3425,1533],{"class":251},[194,3427,3428,3430,3432],{"class":196,"line":215},[194,3429,1538],{"class":243},[194,3431,248],{"class":247},[194,3433,3434],{"class":1295}," false\n",[194,3436,3437],{"class":196,"line":273},[194,3438,411],{"emptyLinePlaceholder":410},[194,3440,3441,3444],{"class":196,"line":284},[194,3442,3443],{"class":243},"extraSecretMounts",[194,3445,270],{"class":247},[194,3447,3448,3450,3452,3454],{"class":196,"line":292},[194,3449,1162],{"class":247},[194,3451,707],{"class":243},[194,3453,248],{"class":247},[194,3455,3202],{"class":251},[194,3457,3458,3460,3462],{"class":196,"line":480},[194,3459,3220],{"class":243},[194,3461,248],{"class":247},[194,3463,3264],{"class":251},[194,3465,3466,3469,3471],{"class":196,"line":491},[194,3467,3468],{"class":243},"    mountPath",[194,3470,248],{"class":247},[194,3472,3473],{"class":251}," \u002Fetc\u002Fgrafana\u002Finternal-ca\n",[194,3475,3476,3479,3481],{"class":196,"line":499},[194,3477,3478],{"class":243},"    readOnly",[194,3480,248],{"class":247},[194,3482,1296],{"class":1295},[194,3484,3485,3488],{"class":196,"line":505},[194,3486,3487],{"class":243},"    items",[194,3489,270],{"class":247},[194,3491,3492,3494,3497,3499],{"class":196,"line":511},[194,3493,533],{"class":247},[194,3495,3496],{"class":243}," key",[194,3498,248],{"class":247},[194,3500,3501],{"class":251}," ca.crt\n",[194,3503,3504,3506,3508],{"class":196,"line":522},[194,3505,2098],{"class":243},[194,3507,248],{"class":247},[194,3509,3501],{"class":251},[194,3511,3512],{"class":196,"line":530},[194,3513,411],{"emptyLinePlaceholder":410},[194,3515,3516,3519],{"class":196,"line":541},[194,3517,3518],{"class":243},"env",[194,3520,270],{"class":247},[194,3522,3523,3526,3528],{"class":196,"line":549},[194,3524,3525],{"class":243},"  SSL_CERT_DIR",[194,3527,248],{"class":247},[194,3529,3530],{"class":251}," \u002Fetc\u002Fssl\u002Fcerts:\u002Fetc\u002Fgrafana\u002Finternal-ca\n",[184,3532,3534],{"className":186,"code":3533,"language":188,"meta":189,"style":189},"helm upgrade git-proxy oci:\u002F\u002Fghcr.io\u002Fdominik-esb\u002Fcharts\u002Fgit-v2-azuredevops-proxy \\\n  --version 2.2.0 -n grafana -f git-proxy-helm-values.yaml --wait\nhelm upgrade grafana grafana-community\u002Fgrafana --version 14.5.0 -n grafana -f grafana-helm-values.yaml --wait\n",[191,3535,3536,3541,3545],{"__ignoreMap":189},[194,3537,3538],{"class":196,"line":197},[194,3539,3540],{},"helm upgrade git-proxy oci:\u002F\u002Fghcr.io\u002Fdominik-esb\u002Fcharts\u002Fgit-v2-azuredevops-proxy \\\n",[194,3542,3543],{"class":196,"line":203},[194,3544,1311],{},[194,3546,3547],{"class":196,"line":209},[194,3548,3549],{},"helm upgrade grafana grafana-community\u002Fgrafana --version 14.5.0 -n grafana -f grafana-helm-values.yaml --wait\n",[27,3551,3552,3553,3555,3556,3559,3560,3562],{},"Finally, point the repository at the HTTPS port. In Grafana, open the repository under ",[128,3554,1857],{}," and change the URL to ",[191,3557,3558],{},"https:\u002F\u002Fgit-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local:8443\u002Fdashboards.git",". Grafana asks for the token again whenever the URL changes, so enter ",[191,3561,1924],{}," again.",[323,3564,1929],{"id":3565},"as-iac",[27,3567,3568,3569,3572],{},"Change the URL and bump ",[191,3570,3571],{},"secureVersion"," in the same edit:",[184,3574,3576],{"className":228,"code":3575,"language":230,"meta":189,"style":189},"      git:\n        url: https:\u002F\u002Fgit-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local:8443\u002Fdashboards.git\n  # ...\n    secureVersion: 2\n",[191,3577,3578,3584,3593,3598],{"__ignoreMap":189},[194,3579,3580,3582],{"class":196,"line":197},[194,3581,2071],{"class":243},[194,3583,270],{"class":247},[194,3585,3586,3588,3590],{"class":196,"line":203},[194,3587,2078],{"class":243},[194,3589,248],{"class":247},[194,3591,3592],{"class":251}," https:\u002F\u002Fgit-proxy-git-v2-azuredevops-proxy.grafana.svc.cluster.local:8443\u002Fdashboards.git\n",[194,3594,3595],{"class":196,"line":209},[194,3596,3597],{"class":237},"  # ...\n",[194,3599,3600,3602,3604],{"class":196,"line":215},[194,3601,2208],{"class":243},[194,3603,248],{"class":247},[194,3605,3606],{"class":732}," 2\n",[27,3608,3609,3610,3612,3613,3616],{},"Without bumping the ",[191,3611,3571],{}," field, Crossplane reports ",[191,3614,3615],{},"a new token is required when changing the repository URL",", and Grafana keeps the old URL.",[3618,3619,3620],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sutJx, html code.shiki .sutJx{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#6A737D;--shiki-dark-font-style:inherit}html pre.shiki code .sQzsp, html code.shiki .sQzsp{--shiki-light:#E53935;--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .srdBf, html code.shiki .srdBf{--shiki-light:#F76D47;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .syTEX, html code.shiki .syTEX{--shiki-light:#FF5370;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sVHd0, html code.shiki .sVHd0{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}",{"title":189,"searchDepth":203,"depth":203,"links":3622},[3623,3635,3640],{"id":95,"depth":203,"text":96,"children":3624},[3625,3626,3627,3628,3629,3630,3631,3632,3633,3634],{"id":116,"depth":209,"text":117},{"id":134,"depth":209,"text":135},{"id":178,"depth":209,"text":179},{"id":153,"depth":209,"text":321},{"id":620,"depth":209,"text":621},{"id":961,"depth":209,"text":962},{"id":1097,"depth":209,"text":1098},{"id":1331,"depth":209,"text":1332},{"id":1850,"depth":209,"text":1851},{"id":2284,"depth":209,"text":2285},{"id":2432,"depth":203,"text":2433,"children":3636},[3637,3638,3639],{"id":2442,"depth":209,"text":2443},{"id":2472,"depth":209,"text":2473},{"id":2825,"depth":209,"text":2826},{"id":2936,"depth":203,"text":2937},"DevOps","2026-11-25","How to take full advantage of Grafana Git Sync in Azure DevOps.","md","\u002Fimages\u002Fgrafana-gitsync-on-azure-devops\u002Fcover\u002Fcover.png",{},null,{"title":14,"description":3643},{"loc":15,"images":3650,"lastmod":3642},[3651,3652,3653,3654,3655,3656],{"loc":2302},{"loc":2311},{"loc":2395},{"loc":2413},{"loc":2918},{"loc":2927},[3658,3659,3660,3661],"azuredevops","grafana","observability","kubernetes","T1O0xoULc4rvBTFWouEzJlkN4wK-rnaPExYZstGHdz4",[3647,3664],{"title":10,"path":11,"stem":12,"description":3665,"children":-1},"Highlighting some of the cheapest reliable options for deploying and running Kubernetes.",[3667,6512],{"id":19,"title":14,"author":3668,"body":3669,"category":3641,"date":3642,"description":3643,"draft":17,"extension":3644,"featured":17,"image":3645,"meta":6501,"minRead":511,"navigation":410,"ogImage":3647,"path":15,"robots":3647,"schemaOrg":3647,"seo":6502,"sitemap":6503,"stem":16,"tags":6511,"updated":3647,"__hash__":3662},{"name":21,"avatar":22},{"type":24,"value":3670,"toc":6481},[3671,3675,3680,3682,3708,3710,3715,3719,3721,3729,3731,3748,4350,4352,4354,4360,4396,4400,4448,4450,4461,4477,4609,4621,4632,4634,4636,4664,4838,4850,4858,5066,5068,5074,5126,5406,5412,5414,5420,5424,5426,5430,5434,5490,5494,5502,5506,5508,5516,5518,5523,5525,5530,5542,5544,5548,5664,5666,5671,5727,5737,5817,5819,5825,5877,5883,5887,5889,5893,5897,5899,5901,6479],[27,3672,29,3673,33],{},[31,3674],{},[27,3676,36,3677,44],{},[38,3678,43],{"href":40,"rel":3679},[42],[27,3681,47],{},[49,3683,3684,3686,3694],{},[52,3685,54],{},[27,3687,57,3688,63,3691,69],{},[38,3689,62],{"href":60,"rel":3690},[42],[38,3692,68],{"href":66,"rel":3693},[42],[71,3695,3696,3701,3703],{},[74,3697,76,3698,81],{},[38,3699,80],{"href":60,"rel":3700},[42],[74,3702,84],{},[74,3704,76,3705,91],{},[38,3706,90],{"href":66,"rel":3707},[42],[93,3709,96],{"id":95},[27,3711,99,3712,104],{},[38,3713,62],{"href":102,"rel":3714},[42],[106,3716,3717],{"color":108,"icon":109},[27,3718,112],{},[114,3720,117],{"id":116},[119,3722,3723,3725],{},[74,3724,123],{},[74,3726,126,3727,131],{},[128,3728,130],{},[114,3730,135],{"id":134},[119,3732,3733,3738,3743],{},[74,3734,140,3735,146],{},[38,3736,145],{"href":143,"rel":3737},[42],[74,3739,3740,154],{},[38,3741,153],{"href":151,"rel":3742},[42],[74,3744,3745,162],{},[38,3746,161],{"href":159,"rel":3747},[42],[49,3749,3750,3752,3756,3758,3760,3780,3784,3836,3844,3850,3852,3854,3870,3872,3883,3894,3918,4064,4072,4074,4322],{},[52,3751,167],{},[27,3753,170,3754,175],{},[38,3755,174],{"href":173},[114,3757,179],{"id":178},[27,3759,182],{},[184,3761,3762],{"className":186,"code":187,"language":188,"meta":189,"style":189},[191,3763,3764,3768,3772,3776],{"__ignoreMap":189},[194,3765,3766],{"class":196,"line":197},[194,3767,200],{},[194,3769,3770],{"class":196,"line":203},[194,3771,206],{},[194,3773,3774],{"class":196,"line":209},[194,3775,212],{},[194,3777,3778],{"class":196,"line":215},[194,3779,218],{},[27,3781,221,3782,225],{},[191,3783,224],{},[184,3785,3786],{"className":228,"code":229,"language":230,"meta":189,"style":189},[191,3787,3788,3792,3800,3808,3814,3822,3828],{"__ignoreMap":189},[194,3789,3790],{"class":196,"line":197},[194,3791,238],{"class":237},[194,3793,3794,3796,3798],{"class":196,"line":203},[194,3795,244],{"class":243},[194,3797,248],{"class":247},[194,3799,252],{"class":251},[194,3801,3802,3804,3806],{"class":196,"line":209},[194,3803,257],{"class":243},[194,3805,248],{"class":247},[194,3807,262],{"class":251},[194,3809,3810,3812],{"class":196,"line":215},[194,3811,267],{"class":243},[194,3813,270],{"class":247},[194,3815,3816,3818,3820],{"class":196,"line":273},[194,3817,276],{"class":243},[194,3819,248],{"class":247},[194,3821,281],{"class":251},[194,3823,3824,3826],{"class":196,"line":284},[194,3825,287],{"class":243},[194,3827,270],{"class":247},[194,3829,3830,3832,3834],{"class":196,"line":292},[194,3831,295],{"class":243},[194,3833,248],{"class":247},[194,3835,300],{"class":251},[184,3837,3838],{"className":186,"code":303,"language":188,"meta":189,"style":189},[191,3839,3840],{"__ignoreMap":189},[194,3841,3842],{"class":196,"line":197},[194,3843,303],{},[106,3845,3846],{"color":108,"icon":109},[27,3847,314,3848,318],{},[191,3849,317],{},[114,3851,321],{"id":153},[323,3853,326],{"id":325},[184,3855,3856],{"className":186,"code":329,"language":188,"meta":189,"style":189},[191,3857,3858,3862,3866],{"__ignoreMap":189},[194,3859,3860],{"class":196,"line":197},[194,3861,336],{},[194,3863,3864],{"class":196,"line":203},[194,3865,341],{},[194,3867,3868],{"class":196,"line":209},[194,3869,346],{},[323,3871,350],{"id":349},[27,3873,353,3874,359,3877,63,3880,175],{},[38,3875,358],{"href":356,"rel":3876},[42],[38,3878,364],{"href":362,"rel":3879},[42],[38,3881,369],{"href":367,"rel":3882},[42],[27,3884,372,3885,378,3888,383,3890,387,3892,390],{},[38,3886,377],{"href":375,"rel":3887},[42],[380,3889,382],{},[191,3891,386],{},[191,3893,153],{},[184,3895,3896],{"className":186,"code":393,"language":188,"meta":189,"style":189},[191,3897,3898,3902,3906,3910,3914],{"__ignoreMap":189},[194,3899,3900],{"class":196,"line":197},[194,3901,400],{},[194,3903,3904],{"class":196,"line":203},[194,3905,405],{},[194,3907,3908],{"class":196,"line":209},[194,3909,411],{"emptyLinePlaceholder":410},[194,3911,3912],{"class":196,"line":215},[194,3913,416],{},[194,3915,3916],{"class":196,"line":273},[194,3917,421],{},[184,3919,3920],{"className":228,"code":424,"language":230,"meta":189,"style":189},[191,3921,3922,3926,3934,3942,3948,3956,3962,3968,3976,3982,3986,3990,3998,4004,4012,4018,4026,4034,4040,4048,4056],{"__ignoreMap":189},[194,3923,3924],{"class":196,"line":197},[194,3925,431],{"class":237},[194,3927,3928,3930,3932],{"class":196,"line":203},[194,3929,244],{"class":243},[194,3931,248],{"class":247},[194,3933,440],{"class":251},[194,3935,3936,3938,3940],{"class":196,"line":209},[194,3937,257],{"class":243},[194,3939,248],{"class":247},[194,3941,449],{"class":251},[194,3943,3944,3946],{"class":196,"line":215},[194,3945,267],{"class":243},[194,3947,270],{"class":247},[194,3949,3950,3952,3954],{"class":196,"line":273},[194,3951,276],{"class":243},[194,3953,248],{"class":247},[194,3955,464],{"class":251},[194,3957,3958,3960],{"class":196,"line":284},[194,3959,287],{"class":243},[194,3961,270],{"class":247},[194,3963,3964,3966],{"class":196,"line":292},[194,3965,475],{"class":243},[194,3967,270],{"class":247},[194,3969,3970,3972,3974],{"class":196,"line":480},[194,3971,483],{"class":243},[194,3973,248],{"class":247},[194,3975,488],{"class":251},[194,3977,3978,3980],{"class":196,"line":491},[194,3979,494],{"class":243},[194,3981,270],{"class":247},[194,3983,3984],{"class":196,"line":499},[194,3985,502],{"class":237},[194,3987,3988],{"class":196,"line":505},[194,3989,508],{"class":237},[194,3991,3992,3994,3996],{"class":196,"line":511},[194,3993,514],{"class":243},[194,3995,248],{"class":247},[194,3997,519],{"class":251},[194,3999,4000,4002],{"class":196,"line":522},[194,4001,525],{"class":243},[194,4003,270],{"class":247},[194,4005,4006,4008,4010],{"class":196,"line":530},[194,4007,533],{"class":247},[194,4009,536],{"class":243},[194,4011,270],{"class":247},[194,4013,4014,4016],{"class":196,"line":541},[194,4015,544],{"class":243},[194,4017,270],{"class":247},[194,4019,4020,4022,4024],{"class":196,"line":549},[194,4021,552],{"class":243},[194,4023,248],{"class":247},[194,4025,557],{"class":251},[194,4027,4028,4030,4032],{"class":196,"line":560},[194,4029,563],{"class":243},[194,4031,248],{"class":247},[194,4033,568],{"class":251},[194,4035,4036,4038],{"class":196,"line":571},[194,4037,574],{"class":243},[194,4039,270],{"class":247},[194,4041,4042,4044,4046],{"class":196,"line":579},[194,4043,582],{"class":243},[194,4045,248],{"class":247},[194,4047,587],{"class":237},[194,4049,4050,4052,4054],{"class":196,"line":590},[194,4051,593],{"class":243},[194,4053,248],{"class":247},[194,4055,568],{"class":251},[194,4057,4058,4060,4062],{"class":196,"line":600},[194,4059,603],{"class":243},[194,4061,248],{"class":247},[194,4063,608],{"class":251},[184,4065,4066],{"className":186,"code":611,"language":188,"meta":189,"style":189},[191,4067,4068],{"__ignoreMap":189},[194,4069,4070],{"class":196,"line":197},[194,4071,611],{},[114,4073,621],{"id":620},[184,4075,4076],{"className":228,"code":624,"language":230,"meta":189,"style":189},[191,4077,4078,4082,4090,4098,4104,4112,4120,4126,4136,4142,4152,4160,4168,4180,4186,4192,4204,4210,4216,4226,4230,4238,4246,4252,4260,4268,4274,4282,4288,4296,4304,4310],{"__ignoreMap":189},[194,4079,4080],{"class":196,"line":197},[194,4081,631],{"class":237},[194,4083,4084,4086,4088],{"class":196,"line":203},[194,4085,244],{"class":243},[194,4087,248],{"class":247},[194,4089,252],{"class":251},[194,4091,4092,4094,4096],{"class":196,"line":209},[194,4093,257],{"class":243},[194,4095,248],{"class":247},[194,4097,648],{"class":251},[194,4099,4100,4102],{"class":196,"line":215},[194,4101,267],{"class":243},[194,4103,270],{"class":247},[194,4105,4106,4108,4110],{"class":196,"line":273},[194,4107,276],{"class":243},[194,4109,248],{"class":247},[194,4111,663],{"class":251},[194,4113,4114,4116,4118],{"class":196,"line":284},[194,4115,668],{"class":243},[194,4117,248],{"class":247},[194,4119,673],{"class":251},[194,4121,4122,4124],{"class":196,"line":292},[194,4123,287],{"class":243},[194,4125,270],{"class":247},[194,4127,4128,4130,4132,4134],{"class":196,"line":480},[194,4129,684],{"class":243},[194,4131,248],{"class":247},[194,4133,689],{"class":251},[194,4135,692],{"class":237},[194,4137,4138,4140],{"class":196,"line":491},[194,4139,697],{"class":243},[194,4141,270],{"class":247},[194,4143,4144,4146,4148,4150],{"class":196,"line":499},[194,4145,704],{"class":247},[194,4147,707],{"class":243},[194,4149,248],{"class":247},[194,4151,712],{"class":251},[194,4153,4154,4156,4158],{"class":196,"line":505},[194,4155,717],{"class":243},[194,4157,248],{"class":247},[194,4159,722],{"class":251},[194,4161,4162,4164,4166],{"class":196,"line":511},[194,4163,727],{"class":243},[194,4165,248],{"class":247},[194,4167,733],{"class":732},[194,4169,4170,4172,4174,4176,4178],{"class":196,"line":522},[194,4171,738],{"class":243},[194,4173,248],{"class":247},[194,4175,744],{"class":743},[194,4177,747],{"class":251},[194,4179,750],{"class":743},[194,4181,4182,4184],{"class":196,"line":530},[194,4183,755],{"class":243},[194,4185,270],{"class":247},[194,4187,4188,4190],{"class":196,"line":541},[194,4189,762],{"class":243},[194,4191,270],{"class":247},[194,4193,4194,4196,4198,4200,4202],{"class":196,"line":549},[194,4195,769],{"class":247},[194,4197,707],{"class":243},[194,4199,248],{"class":247},[194,4201,776],{"class":251},[194,4203,779],{"class":237},[194,4205,4206,4208],{"class":196,"line":560},[194,4207,784],{"class":243},[194,4209,270],{"class":247},[194,4211,4212,4214],{"class":196,"line":571},[194,4213,791],{"class":243},[194,4215,270],{"class":247},[194,4217,4218,4220,4222,4224],{"class":196,"line":579},[194,4219,798],{"class":243},[194,4221,248],{"class":247},[194,4223,803],{"class":251},[194,4225,806],{"class":237},[194,4227,4228],{"class":196,"line":590},[194,4229,812],{"class":811},[194,4231,4232,4234,4236],{"class":196,"line":600},[194,4233,244],{"class":243},[194,4235,248],{"class":247},[194,4237,440],{"class":251},[194,4239,4240,4242,4244],{"class":196,"line":823},[194,4241,257],{"class":243},[194,4243,248],{"class":247},[194,4245,830],{"class":251},[194,4247,4248,4250],{"class":196,"line":833},[194,4249,267],{"class":243},[194,4251,270],{"class":247},[194,4253,4254,4256,4258],{"class":196,"line":840},[194,4255,276],{"class":243},[194,4257,248],{"class":247},[194,4259,847],{"class":251},[194,4261,4262,4264,4266],{"class":196,"line":850},[194,4263,668],{"class":243},[194,4265,248],{"class":247},[194,4267,673],{"class":251},[194,4269,4270,4272],{"class":196,"line":859},[194,4271,287],{"class":243},[194,4273,270],{"class":247},[194,4275,4276,4278,4280],{"class":196,"line":866},[194,4277,869],{"class":243},[194,4279,248],{"class":247},[194,4281,847],{"class":251},[194,4283,4284,4286],{"class":196,"line":876},[194,4285,879],{"class":243},[194,4287,270],{"class":247},[194,4289,4290,4292,4294],{"class":196,"line":884},[194,4291,887],{"class":243},[194,4293,248],{"class":247},[194,4295,449],{"class":251},[194,4297,4298,4300,4302],{"class":196,"line":894},[194,4299,897],{"class":243},[194,4301,248],{"class":247},[194,4303,464],{"class":251},[194,4305,4306,4308],{"class":196,"line":904},[194,4307,907],{"class":243},[194,4309,270],{"class":247},[194,4311,4312,4314,4316,4318,4320],{"class":196,"line":912},[194,4313,704],{"class":247},[194,4315,744],{"class":743},[194,4317,747],{"class":251},[194,4319,921],{"class":743},[194,4321,924],{"class":237},[184,4323,4324],{"className":186,"code":927,"language":188,"meta":189,"style":189},[191,4325,4326,4330,4334,4338,4342,4346],{"__ignoreMap":189},[194,4327,4328],{"class":196,"line":197},[194,4329,934],{},[194,4331,4332],{"class":196,"line":203},[194,4333,411],{"emptyLinePlaceholder":410},[194,4335,4336],{"class":196,"line":209},[194,4337,943],{},[194,4339,4340],{"class":196,"line":215},[194,4341,948],{},[194,4343,4344],{"class":196,"line":273},[194,4345,953],{},[194,4347,4348],{"class":196,"line":284},[194,4349,958],{},[114,4351,962],{"id":961},[27,4353,965],{},[27,4355,968,4356,972,4358,976],{},[128,4357,971],{},[128,4359,975],{},[978,4361,4362,4370],{},[981,4363,4364],{},[984,4365,4366,4368],{},[987,4367,989],{},[987,4369,992],{},[994,4371,4372,4380,4388],{},[984,4373,4374,4376],{},[999,4375,1001],{},[999,4377,4378],{},[191,4379,1006],{},[984,4381,4382,4384],{},[999,4383,1011],{},[999,4385,4386],{},[191,4387,1016],{},[984,4389,4390,4392],{},[999,4391,1021],{},[999,4393,1024,4394,1028],{},[191,4395,1027],{},[27,4397,1031,4398,175],{},[128,4399,1034],{},[49,4401,4402,4404,4408],{},[52,4403,1039],{},[27,4405,4406,1045],{},[191,4407,1044],{},[184,4409,4410],{"className":186,"code":1048,"language":188,"meta":189,"style":189},[191,4411,4412,4416,4420,4424,4428,4432,4436,4440,4444],{"__ignoreMap":189},[194,4413,4414],{"class":196,"line":197},[194,4415,1055],{},[194,4417,4418],{"class":196,"line":203},[194,4419,411],{"emptyLinePlaceholder":410},[194,4421,4422],{"class":196,"line":209},[194,4423,1064],{},[194,4425,4426],{"class":196,"line":215},[194,4427,1069],{},[194,4429,4430],{"class":196,"line":273},[194,4431,1074],{},[194,4433,4434],{"class":196,"line":284},[194,4435,1079],{},[194,4437,4438],{"class":196,"line":292},[194,4439,1084],{},[194,4441,4442],{"class":196,"line":480},[194,4443,1089],{},[194,4445,4446],{"class":196,"line":491},[194,4447,1094],{},[114,4449,1098],{"id":1097},[27,4451,4452,1106,4455,1110,4457,175,4459,1116],{},[38,4453,1105],{"href":1103,"rel":4454},[42],[128,4456,1109],{},[128,4458,1113],{},[31,4460],{},[184,4462,4463],{"className":186,"code":1119,"language":188,"meta":189,"style":189},[191,4464,4465,4469,4473],{"__ignoreMap":189},[194,4466,4467],{"class":196,"line":197},[194,4468,1126],{},[194,4470,4471],{"class":196,"line":203},[194,4472,411],{"emptyLinePlaceholder":410},[194,4474,4475],{"class":196,"line":209},[194,4476,1135],{},[184,4478,4479],{"className":228,"code":1138,"language":230,"meta":189,"style":189},[191,4480,4481,4485,4491,4495,4503,4507,4513,4521,4527,4537,4541,4545,4553,4557,4567,4571,4577,4587,4591,4597,4601],{"__ignoreMap":189},[194,4482,4483],{"class":196,"line":197},[194,4484,1145],{"class":237},[194,4486,4487,4489],{"class":196,"line":203},[194,4488,1150],{"class":243},[194,4490,270],{"class":247},[194,4492,4493],{"class":196,"line":209},[194,4494,1157],{"class":237},[194,4496,4497,4499,4501],{"class":196,"line":215},[194,4498,1162],{"class":247},[194,4500,1165],{"class":251},[194,4502,1168],{"class":237},[194,4504,4505],{"class":196,"line":273},[194,4506,411],{"emptyLinePlaceholder":410},[194,4508,4509,4511],{"class":196,"line":284},[194,4510,1177],{"class":243},[194,4512,270],{"class":247},[194,4514,4515,4517,4519],{"class":196,"line":292},[194,4516,1184],{"class":243},[194,4518,248],{"class":247},[194,4520,1189],{"class":251},[194,4522,4523,4525],{"class":196,"line":480},[194,4524,1194],{"class":243},[194,4526,270],{"class":247},[194,4528,4529,4531,4533,4535],{"class":196,"line":491},[194,4530,1201],{"class":243},[194,4532,248],{"class":247},[194,4534,1206],{"class":251},[194,4536,1209],{"class":237},[194,4538,4539],{"class":196,"line":499},[194,4540,411],{"emptyLinePlaceholder":410},[194,4542,4543],{"class":196,"line":505},[194,4544,1218],{"class":237},[194,4546,4547,4549,4551],{"class":196,"line":511},[194,4548,1223],{"class":243},[194,4550,248],{"class":247},[194,4552,1228],{"class":251},[194,4554,4555],{"class":196,"line":522},[194,4556,411],{"emptyLinePlaceholder":410},[194,4558,4559,4561,4563,4565],{"class":196,"line":530},[194,4560,1237],{"class":243},[194,4562,248],{"class":247},[194,4564,1242],{"class":732},[194,4566,1245],{"class":237},[194,4568,4569],{"class":196,"line":541},[194,4570,411],{"emptyLinePlaceholder":410},[194,4572,4573,4575],{"class":196,"line":549},[194,4574,1254],{"class":243},[194,4576,270],{"class":247},[194,4578,4579,4581,4583,4585],{"class":196,"line":560},[194,4580,1261],{"class":243},[194,4582,248],{"class":247},[194,4584,1266],{"class":251},[194,4586,1269],{"class":237},[194,4588,4589],{"class":196,"line":571},[194,4590,411],{"emptyLinePlaceholder":410},[194,4592,4593,4595],{"class":196,"line":579},[194,4594,1278],{"class":243},[194,4596,270],{"class":247},[194,4598,4599],{"class":196,"line":590},[194,4600,1285],{"class":237},[194,4602,4603,4605,4607],{"class":196,"line":600},[194,4604,1290],{"class":243},[194,4606,248],{"class":247},[194,4608,1296],{"class":1295},[184,4610,4611],{"className":186,"code":1299,"language":188,"meta":189,"style":189},[191,4612,4613,4617],{"__ignoreMap":189},[194,4614,4615],{"class":196,"line":197},[194,4616,1306],{},[194,4618,4619],{"class":196,"line":203},[194,4620,1311],{},[106,4622,4623],{"color":108,"icon":109},[27,4624,1316,4625,1320,4627,1324,4629,175],{},[191,4626,1319],{},[191,4628,1323],{},[38,4630,1328],{"href":60,"rel":4631},[42],[114,4633,1332],{"id":1331},[27,4635,1335],{},[184,4637,4638],{"className":186,"code":1338,"language":188,"meta":189,"style":189},[191,4639,4640,4644,4648,4652,4656,4660],{"__ignoreMap":189},[194,4641,4642],{"class":196,"line":197},[194,4643,1345],{},[194,4645,4646],{"class":196,"line":203},[194,4647,1350],{},[194,4649,4650],{"class":196,"line":209},[194,4651,1355],{},[194,4653,4654],{"class":196,"line":215},[194,4655,1360],{},[194,4657,4658],{"class":196,"line":273},[194,4659,1365],{},[194,4661,4662],{"class":196,"line":284},[194,4663,1370],{},[184,4665,4666],{"className":228,"code":1373,"language":230,"meta":189,"style":189},[191,4667,4668,4672,4678,4682,4690,4694,4698,4704,4710,4718,4724,4734,4742,4750,4756,4762,4766,4772,4778,4786,4792,4796,4804,4812,4816,4822,4830],{"__ignoreMap":189},[194,4669,4670],{"class":196,"line":197},[194,4671,1380],{"class":237},[194,4673,4674,4676],{"class":196,"line":203},[194,4675,1385],{"class":243},[194,4677,270],{"class":247},[194,4679,4680],{"class":196,"line":209},[194,4681,1392],{"class":237},[194,4683,4684,4686,4688],{"class":196,"line":215},[194,4685,1397],{"class":243},[194,4687,248],{"class":247},[194,4689,1402],{"class":251},[194,4691,4692],{"class":196,"line":273},[194,4693,411],{"emptyLinePlaceholder":410},[194,4695,4696],{"class":196,"line":284},[194,4697,1411],{"class":237},[194,4699,4700,4702],{"class":196,"line":292},[194,4701,1416],{"class":243},[194,4703,270],{"class":247},[194,4705,4706,4708],{"class":196,"line":480},[194,4707,1423],{"class":243},[194,4709,270],{"class":247},[194,4711,4712,4714,4716],{"class":196,"line":491},[194,4713,1430],{"class":243},[194,4715,248],{"class":247},[194,4717,1296],{"class":1295},[194,4719,4720,4722],{"class":196,"line":499},[194,4721,1439],{"class":243},[194,4723,270],{"class":247},[194,4725,4726,4728,4730,4732],{"class":196,"line":505},[194,4727,533],{"class":247},[194,4729,707],{"class":243},[194,4731,248],{"class":247},[194,4733,663],{"class":251},[194,4735,4736,4738,4740],{"class":196,"line":511},[194,4737,1456],{"class":243},[194,4739,248],{"class":247},[194,4741,673],{"class":251},[194,4743,4744,4746,4748],{"class":196,"line":522},[194,4745,1465],{"class":243},[194,4747,248],{"class":247},[194,4749,712],{"class":251},[194,4751,4752,4754],{"class":196,"line":530},[194,4753,1474],{"class":243},[194,4755,270],{"class":247},[194,4757,4758,4760],{"class":196,"line":541},[194,4759,533],{"class":247},[194,4761,1483],{"class":251},[194,4763,4764],{"class":196,"line":549},[194,4765,411],{"emptyLinePlaceholder":410},[194,4767,4768,4770],{"class":196,"line":560},[194,4769,1492],{"class":243},[194,4771,270],{"class":247},[194,4773,4774,4776],{"class":196,"line":571},[194,4775,1499],{"class":243},[194,4777,270],{"class":247},[194,4779,4780,4782,4784],{"class":196,"line":579},[194,4781,1506],{"class":243},[194,4783,248],{"class":247},[194,4785,1511],{"class":251},[194,4787,4788,4790],{"class":196,"line":590},[194,4789,1516],{"class":243},[194,4791,270],{"class":247},[194,4793,4794],{"class":196,"line":600},[194,4795,1523],{"class":237},[194,4797,4798,4800,4802],{"class":196,"line":823},[194,4799,1528],{"class":243},[194,4801,248],{"class":247},[194,4803,1533],{"class":251},[194,4805,4806,4808,4810],{"class":196,"line":833},[194,4807,1538],{"class":243},[194,4809,248],{"class":247},[194,4811,1296],{"class":1295},[194,4813,4814],{"class":196,"line":840},[194,4815,411],{"emptyLinePlaceholder":410},[194,4817,4818,4820],{"class":196,"line":850},[194,4819,1254],{"class":243},[194,4821,270],{"class":247},[194,4823,4824,4826,4828],{"class":196,"line":859},[194,4825,1290],{"class":243},[194,4827,248],{"class":247},[194,4829,1296],{"class":1295},[194,4831,4832,4834,4836],{"class":196,"line":866},[194,4833,1261],{"class":243},[194,4835,248],{"class":247},[194,4837,1569],{"class":251},[184,4839,4840],{"className":186,"code":1572,"language":188,"meta":189,"style":189},[191,4841,4842,4846],{"__ignoreMap":189},[194,4843,4844],{"class":196,"line":197},[194,4845,1579],{},[194,4847,4848],{"class":196,"line":203},[194,4849,1584],{},[106,4851,4852],{"color":108,"icon":1587},[27,4853,1590,4854,1594,4856,1597],{},[191,4855,1593],{},[191,4857,1593],{},[49,4859,4860,4862,4864,4876,4928,4940,4942,5050],{},[52,4861,1602],{},[27,4863,1605],{},[184,4865,4866],{"className":186,"code":1608,"language":188,"meta":189,"style":189},[191,4867,4868,4872],{"__ignoreMap":189},[194,4869,4870],{"class":196,"line":197},[194,4871,1615],{},[194,4873,4874],{"class":196,"line":203},[194,4875,1620],{},[184,4877,4878],{"className":228,"code":1623,"language":230,"meta":189,"style":189},[191,4879,4880,4884,4892,4900,4906,4914,4920],{"__ignoreMap":189},[194,4881,4882],{"class":196,"line":197},[194,4883,1630],{"class":237},[194,4885,4886,4888,4890],{"class":196,"line":203},[194,4887,244],{"class":243},[194,4889,248],{"class":247},[194,4891,1639],{"class":251},[194,4893,4894,4896,4898],{"class":196,"line":209},[194,4895,257],{"class":243},[194,4897,248],{"class":247},[194,4899,1648],{"class":251},[194,4901,4902,4904],{"class":196,"line":215},[194,4903,267],{"class":243},[194,4905,270],{"class":247},[194,4907,4908,4910,4912],{"class":196,"line":273},[194,4909,276],{"class":243},[194,4911,248],{"class":247},[194,4913,1663],{"class":251},[194,4915,4916,4918],{"class":196,"line":284},[194,4917,287],{"class":243},[194,4919,270],{"class":247},[194,4921,4922,4924,4926],{"class":196,"line":292},[194,4923,1674],{"class":243},[194,4925,248],{"class":247},[194,4927,1679],{"class":251},[184,4929,4930],{"className":186,"code":1682,"language":188,"meta":189,"style":189},[191,4931,4932,4936],{"__ignoreMap":189},[194,4933,4934],{"class":196,"line":197},[194,4935,1689],{},[194,4937,4938],{"class":196,"line":203},[194,4939,1694],{},[27,4941,1697],{},[184,4943,4944],{"className":228,"code":1700,"language":230,"meta":189,"style":189},[191,4945,4946,4950,4958,4966,4972,4980,4988,4994,5002,5008,5016,5022,5030,5038,5042],{"__ignoreMap":189},[194,4947,4948],{"class":196,"line":197},[194,4949,1707],{"class":237},[194,4951,4952,4954,4956],{"class":196,"line":203},[194,4953,244],{"class":243},[194,4955,248],{"class":247},[194,4957,1716],{"class":251},[194,4959,4960,4962,4964],{"class":196,"line":209},[194,4961,257],{"class":243},[194,4963,248],{"class":247},[194,4965,1725],{"class":251},[194,4967,4968,4970],{"class":196,"line":215},[194,4969,267],{"class":243},[194,4971,270],{"class":247},[194,4973,4974,4976,4978],{"class":196,"line":273},[194,4975,276],{"class":243},[194,4977,248],{"class":247},[194,4979,1740],{"class":251},[194,4981,4982,4984,4986],{"class":196,"line":284},[194,4983,668],{"class":243},[194,4985,248],{"class":247},[194,4987,1740],{"class":251},[194,4989,4990,4992],{"class":196,"line":292},[194,4991,287],{"class":243},[194,4993,270],{"class":247},[194,4995,4996,4998,5000],{"class":196,"line":480},[194,4997,1759],{"class":243},[194,4999,248],{"class":247},[194,5001,1764],{"class":251},[194,5003,5004,5006],{"class":196,"line":491},[194,5005,1769],{"class":243},[194,5007,270],{"class":247},[194,5009,5010,5012,5014],{"class":196,"line":499},[194,5011,1776],{"class":243},[194,5013,248],{"class":247},[194,5015,1781],{"class":251},[194,5017,5018,5020],{"class":196,"line":505},[194,5019,1786],{"class":243},[194,5021,270],{"class":247},[194,5023,5024,5026,5028],{"class":196,"line":511},[194,5025,514],{"class":243},[194,5027,248],{"class":247},[194,5029,1402],{"class":251},[194,5031,5032,5034,5036],{"class":196,"line":522},[194,5033,1801],{"class":243},[194,5035,248],{"class":247},[194,5037,1740],{"class":251},[194,5039,5040],{"class":196,"line":530},[194,5041,1810],{"class":237},[194,5043,5044,5046,5048],{"class":196,"line":541},[194,5045,1815],{"class":243},[194,5047,248],{"class":247},[194,5049,1820],{"class":251},[106,5051,5052],{"color":108,"icon":109},[27,5053,1825,5054,1829,5056,1833,5058,1106,5060,1840,5062,1844,5064,1847],{},[191,5055,1828],{},[191,5057,1832],{},[380,5059,1836],{},[128,5061,1839],{},[191,5063,1843],{},[191,5065,1828],{},[114,5067,1851],{"id":1850},[27,5069,1854,5070,1858,5072,1862],{},[128,5071,1857],{},[128,5073,1861],{},[978,5075,5076,5084],{},[981,5077,5078],{},[984,5079,5080,5082],{},[987,5081,989],{},[987,5083,992],{},[994,5085,5086,5094,5102,5110,5118],{},[984,5087,5088,5090],{},[999,5089,1879],{},[999,5091,5092],{},[191,5093,1884],{},[984,5095,5096,5098],{},[999,5097,1889],{},[999,5099,5100],{},[191,5101,1027],{},[984,5103,5104,5106],{},[999,5105,1898],{},[999,5107,5108],{},[191,5109,1903],{},[984,5111,5112,5114],{},[999,5113,1908],{},[999,5115,5116,1914],{},[191,5117,1913],{},[984,5119,5120,5122],{},[999,5121,1919],{},[999,5123,5124,1914],{},[191,5125,1924],{},[49,5127,5128,5130,5132,5368,5384],{},[52,5129,1929],{},[27,5131,1932],{},[184,5133,5134],{"className":228,"code":1935,"language":230,"meta":189,"style":189},[191,5135,5136,5140,5148,5156,5162,5170,5178,5184,5190,5198,5206,5212,5218,5228,5234,5242,5250,5256,5264,5272,5280,5290,5296,5304,5312,5320,5338,5344,5350,5360],{"__ignoreMap":189},[194,5137,5138],{"class":196,"line":197},[194,5139,1942],{"class":237},[194,5141,5142,5144,5146],{"class":196,"line":203},[194,5143,244],{"class":243},[194,5145,248],{"class":247},[194,5147,1951],{"class":251},[194,5149,5150,5152,5154],{"class":196,"line":209},[194,5151,257],{"class":243},[194,5153,248],{"class":247},[194,5155,1960],{"class":251},[194,5157,5158,5160],{"class":196,"line":215},[194,5159,267],{"class":243},[194,5161,270],{"class":247},[194,5163,5164,5166,5168],{"class":196,"line":273},[194,5165,276],{"class":243},[194,5167,248],{"class":247},[194,5169,1975],{"class":251},[194,5171,5172,5174,5176],{"class":196,"line":284},[194,5173,668],{"class":243},[194,5175,248],{"class":247},[194,5177,1740],{"class":251},[194,5179,5180,5182],{"class":196,"line":292},[194,5181,287],{"class":243},[194,5183,270],{"class":247},[194,5185,5186,5188],{"class":196,"line":480},[194,5187,1994],{"class":243},[194,5189,270],{"class":247},[194,5191,5192,5194,5196],{"class":196,"line":491},[194,5193,887],{"class":243},[194,5195,248],{"class":247},[194,5197,1725],{"class":251},[194,5199,5200,5202,5204],{"class":196,"line":499},[194,5201,897],{"class":243},[194,5203,248],{"class":247},[194,5205,1740],{"class":251},[194,5207,5208,5210],{"class":196,"line":505},[194,5209,2017],{"class":243},[194,5211,270],{"class":247},[194,5213,5214,5216],{"class":196,"line":511},[194,5215,2024],{"class":243},[194,5217,270],{"class":247},[194,5219,5220,5222,5224,5226],{"class":196,"line":522},[194,5221,2031],{"class":243},[194,5223,248],{"class":247},[194,5225,2036],{"class":251},[194,5227,2039],{"class":237},[194,5229,5230,5232],{"class":196,"line":530},[194,5231,2044],{"class":243},[194,5233,270],{"class":247},[194,5235,5236,5238,5240],{"class":196,"line":541},[194,5237,2051],{"class":243},[194,5239,248],{"class":247},[194,5241,2056],{"class":251},[194,5243,5244,5246,5248],{"class":196,"line":549},[194,5245,2061],{"class":243},[194,5247,248],{"class":247},[194,5249,2066],{"class":251},[194,5251,5252,5254],{"class":196,"line":560},[194,5253,2071],{"class":243},[194,5255,270],{"class":247},[194,5257,5258,5260,5262],{"class":196,"line":571},[194,5259,2078],{"class":243},[194,5261,248],{"class":247},[194,5263,2083],{"class":251},[194,5265,5266,5268,5270],{"class":196,"line":579},[194,5267,2088],{"class":243},[194,5269,248],{"class":247},[194,5271,2093],{"class":251},[194,5273,5274,5276,5278],{"class":196,"line":590},[194,5275,2098],{"class":243},[194,5277,248],{"class":247},[194,5279,2103],{"class":251},[194,5281,5282,5284,5286,5288],{"class":196,"line":600},[194,5283,2108],{"class":243},[194,5285,248],{"class":247},[194,5287,2113],{"class":251},[194,5289,2116],{"class":237},[194,5291,5292,5294],{"class":196,"line":823},[194,5293,2121],{"class":243},[194,5295,270],{"class":247},[194,5297,5298,5300,5302],{"class":196,"line":833},[194,5299,2128],{"class":243},[194,5301,248],{"class":247},[194,5303,1296],{"class":1295},[194,5305,5306,5308,5310],{"class":196,"line":840},[194,5307,2137],{"class":243},[194,5309,248],{"class":247},[194,5311,2142],{"class":251},[194,5313,5314,5316,5318],{"class":196,"line":850},[194,5315,2147],{"class":243},[194,5317,248],{"class":247},[194,5319,2152],{"class":732},[194,5321,5322,5324,5326,5328,5330,5332,5334,5336],{"class":196,"line":859},[194,5323,2157],{"class":243},[194,5325,248],{"class":247},[194,5327,2162],{"class":247},[194,5329,2165],{"class":251},[194,5331,2168],{"class":247},[194,5333,2171],{"class":251},[194,5335,2174],{"class":247},[194,5337,2177],{"class":237},[194,5339,5340,5342],{"class":196,"line":866},[194,5341,2182],{"class":243},[194,5343,270],{"class":247},[194,5345,5346,5348],{"class":196,"line":876},[194,5347,2189],{"class":243},[194,5349,270],{"class":247},[194,5351,5352,5354,5356,5358],{"class":196,"line":884},[194,5353,2196],{"class":243},[194,5355,248],{"class":247},[194,5357,2201],{"class":251},[194,5359,2116],{"class":237},[194,5361,5362,5364,5366],{"class":196,"line":894},[194,5363,2208],{"class":243},[194,5365,248],{"class":247},[194,5367,2213],{"class":732},[184,5369,5370],{"className":186,"code":2216,"language":188,"meta":189,"style":189},[191,5371,5372,5376,5380],{"__ignoreMap":189},[194,5373,5374],{"class":196,"line":197},[194,5375,2223],{},[194,5377,5378],{"class":196,"line":203},[194,5379,2228],{},[194,5381,5382],{"class":196,"line":209},[194,5383,2233],{},[106,5385,5386],{"color":108,"icon":109},[27,5387,2238,5388,2242,5390,2246,5392,63,5394,2252,5396,2256,5398,378,5401,2265,5403,2271],{},[191,5389,2241],{},[191,5391,2245],{},[191,5393,287],{},[191,5395,2251],{},[191,5397,2255],{},[38,5399,2261],{"href":2259,"rel":5400},[42],[191,5402,2264],{},[38,5404,2270],{"href":2268,"rel":5405},[42],[27,5407,2274,5408,2278,5410,2281],{},[128,5409,2277],{},[380,5411,2277],{},[114,5413,2285],{"id":2284},[27,5415,2288,5416,2291,5418,2295],{},[128,5417,2277],{},[128,5419,2294],{},[27,5421,5422],{},[2299,5423],{"alt":2301,"src":2302},[27,5425,2305],{},[27,5427,5428],{},[2299,5429],{"alt":2310,"src":2311},[27,5431,2314,5432,2318],{},[128,5433,2317],{},[978,5435,5436,5444],{},[981,5437,5438],{},[984,5439,5440,5442],{},[987,5441,989],{},[987,5443,992],{},[994,5445,5446,5454,5462,5472,5482],{},[984,5447,5448,5450],{},[999,5449,2335],{},[999,5451,5452],{},[191,5453,2340],{},[984,5455,5456,5458],{},[999,5457,1889],{},[999,5459,5460,2349],{},[191,5461,1027],{},[984,5463,5464,5466],{},[999,5465,2354],{},[999,5467,5468,2360,5470,2363],{},[191,5469,2359],{},[191,5471,1903],{},[984,5473,5474,5476],{},[999,5475,2368],{},[999,5477,5478,2374,5480,2378],{},[191,5479,2373],{},[191,5481,2377],{},[984,5483,5484,5486],{},[999,5485,2383],{},[999,5487,5488,2389],{},[191,5489,2388],{},[27,5491,5492],{},[2299,5493],{"alt":2394,"src":2395},[27,5495,2314,5496,2400,5498,2404,5500,2407],{},[128,5497,2317],{},[191,5499,2403],{},[191,5501,2359],{},[27,5503,5504],{},[2299,5505],{"alt":2412,"src":2413},[27,5507,2416],{},[106,5509,5510],{"color":108,"icon":2419},[27,5511,2422,5512,2425,5514,2429],{},[191,5513,1237],{},[191,5515,2428],{},[93,5517,2433],{"id":2432},[27,5519,5520,2439],{},[38,5521,68],{"href":66,"rel":5522},[42],[114,5524,2443],{"id":2442},[27,5526,2446,5527,2450],{},[38,5528,68],{"href":66,"rel":5529},[42],[27,5531,2453,5532,2457,5534,5536,175,5540,2469],{},[128,5533,2456],{},[31,5535],{},[380,5537,2462,5538,2466],{},[191,5539,2465],{},[31,5541],{},[114,5543,2473],{"id":2472},[27,5545,2476,5546,2480],{},[191,5547,2479],{},[184,5549,5550],{"className":228,"code":2483,"language":230,"meta":189,"style":189},[191,5551,5552,5556,5564,5568,5574,5582,5586,5592,5602,5612,5616,5626,5632,5640,5648,5652,5660],{"__ignoreMap":189},[194,5553,5554],{"class":196,"line":197},[194,5555,2490],{"class":237},[194,5557,5558,5560,5562],{"class":196,"line":203},[194,5559,2495],{"class":243},[194,5561,248],{"class":247},[194,5563,1228],{"class":251},[194,5565,5566],{"class":196,"line":209},[194,5567,411],{"emptyLinePlaceholder":410},[194,5569,5570,5572],{"class":196,"line":215},[194,5571,2508],{"class":243},[194,5573,270],{"class":247},[194,5575,5576,5578,5580],{"class":196,"line":273},[194,5577,2515],{"class":243},[194,5579,248],{"class":247},[194,5581,2520],{"class":251},[194,5583,5584],{"class":196,"line":284},[194,5585,411],{"emptyLinePlaceholder":410},[194,5587,5588,5590],{"class":196,"line":292},[194,5589,2529],{"class":243},[194,5591,270],{"class":247},[194,5593,5594,5596,5598,5600],{"class":196,"line":480},[194,5595,1162],{"class":247},[194,5597,2538],{"class":243},[194,5599,248],{"class":247},[194,5601,2543],{"class":251},[194,5603,5604,5606,5608,5610],{"class":196,"line":491},[194,5605,2548],{"class":243},[194,5607,248],{"class":247},[194,5609,2553],{"class":732},[194,5611,2556],{"class":237},[194,5613,5614],{"class":196,"line":499},[194,5615,411],{"emptyLinePlaceholder":410},[194,5617,5618,5620,5622,5624],{"class":196,"line":505},[194,5619,1162],{"class":247},[194,5621,2567],{"class":243},[194,5623,248],{"class":247},[194,5625,2572],{"class":251},[194,5627,5628,5630],{"class":196,"line":511},[194,5629,2577],{"class":243},[194,5631,270],{"class":247},[194,5633,5634,5636,5638],{"class":196,"line":522},[194,5635,2584],{"class":243},[194,5637,248],{"class":247},[194,5639,1511],{"class":251},[194,5641,5642,5644,5646],{"class":196,"line":530},[194,5643,2593],{"class":243},[194,5645,248],{"class":247},[194,5647,2598],{"class":251},[194,5649,5650],{"class":196,"line":541},[194,5651,2603],{"class":237},[194,5653,5654,5656,5658],{"class":196,"line":549},[194,5655,2608],{"class":243},[194,5657,248],{"class":247},[194,5659,2614],{"class":2613},[194,5661,5662],{"class":196,"line":560},[194,5663,2619],{"class":251},[27,5665,2622],{},[184,5667,5669],{"className":5668,"code":2627,"language":2628,"meta":189},[2626],[191,5670,2627],{"__ignoreMap":189},[49,5672,5673,5675,5683,5719],{},[52,5674,2635],{},[27,5676,2638,5677,2642,5679,2646,5681,2650],{},[191,5678,2641],{},[191,5680,2645],{},[191,5682,2649],{},[184,5684,5685],{"className":228,"code":2653,"language":230,"meta":189,"style":189},[191,5686,5687,5697,5703,5711],{"__ignoreMap":189},[194,5688,5689,5691,5693,5695],{"class":196,"line":197},[194,5690,1162],{"class":247},[194,5692,2567],{"class":243},[194,5694,248],{"class":247},[194,5696,2572],{"class":251},[194,5698,5699,5701],{"class":196,"line":203},[194,5700,2577],{"class":243},[194,5702,270],{"class":247},[194,5704,5705,5707,5709],{"class":196,"line":209},[194,5706,2584],{"class":243},[194,5708,248],{"class":247},[194,5710,1511],{"class":251},[194,5712,5713,5715,5717],{"class":196,"line":215},[194,5714,2684],{"class":243},[194,5716,248],{"class":247},[194,5718,2689],{"class":251},[27,5720,2692,5721,2696,5723,2700,5725,2704],{},[191,5722,2695],{},[191,5724,2699],{},[191,5726,2703],{},[27,5728,2707,5729,2711,5731,378,5733,2717,5735,2721],{},[128,5730,2710],{},[191,5732,1027],{},[380,5734,2716],{},[191,5736,2720],{},[49,5738,5739,5741,5747,5811],{},[52,5740,1039],{},[27,5742,2728,5743,2732,5745,2735],{},[191,5744,2731],{},[191,5746,1027],{},[184,5748,5749],{"className":186,"code":2738,"language":188,"meta":189,"style":189},[191,5750,5751,5755,5759,5763,5767,5771,5775,5779,5783,5787,5791,5795,5799,5803,5807],{"__ignoreMap":189},[194,5752,5753],{"class":196,"line":197},[194,5754,2745],{},[194,5756,5757],{"class":196,"line":203},[194,5758,2750],{},[194,5760,5761],{"class":196,"line":209},[194,5762,411],{"emptyLinePlaceholder":410},[194,5764,5765],{"class":196,"line":215},[194,5766,2759],{},[194,5768,5769],{"class":196,"line":273},[194,5770,2764],{},[194,5772,5773],{"class":196,"line":284},[194,5774,2769],{},[194,5776,5777],{"class":196,"line":292},[194,5778,2774],{},[194,5780,5781],{"class":196,"line":480},[194,5782,411],{"emptyLinePlaceholder":410},[194,5784,5785],{"class":196,"line":491},[194,5786,2783],{},[194,5788,5789],{"class":196,"line":499},[194,5790,411],{"emptyLinePlaceholder":410},[194,5792,5793],{"class":196,"line":505},[194,5794,2792],{},[194,5796,5797],{"class":196,"line":511},[194,5798,2797],{},[194,5800,5801],{"class":196,"line":522},[194,5802,2802],{},[194,5804,5805],{"class":196,"line":530},[194,5806,2807],{},[194,5808,5809],{"class":196,"line":541},[194,5810,2812],{},[27,5812,5813,2818,5815,2822],{},[191,5814,2817],{},[191,5816,2821],{},[114,5818,2826],{"id":2825},[27,5820,2829,5821,2832,5823,2835],{},[31,5822],{},[191,5824,1027],{},[2837,5826,5827,5831,5873],{},[27,5828,2841,5829],{},[128,5830,2844],{},[978,5832,5833,5843],{},[981,5834,5835],{},[984,5836,5837,5839,5841],{},[987,5838,2853],{},[987,5840,2856],{},[987,5842,2859],{},[994,5844,5845,5859],{},[984,5846,5847,5855,5857],{},[999,5848,5849,5851,5853],{},[128,5850,2340],{},[31,5852],{},[191,5854,2872],{},[999,5856,2875],{},[999,5858,2878],{},[984,5860,5861,5869,5871],{},[999,5862,5863,5865,5867],{},[128,5864,2885],{},[31,5866],{},[191,5868,2890],{},[999,5870,2893],{},[999,5872,2896],{},[27,5874,2899,5875,2903],{},[191,5876,2902],{},[27,5878,5879,2909,5881,2912],{},[128,5880,2908],{},[128,5882,2896],{},[27,5884,5885],{},[2299,5886],{"alt":2917,"src":2918},[27,5888,2921],{},[27,5890,5891],{},[2299,5892],{"alt":2926,"src":2927},[106,5894,5895],{"color":108,"icon":2930},[27,5896,2933],{},[93,5898,2937],{"id":2936},[27,5900,2940],{},[49,5902,5903,5905,5909,5919,6243,6255,6269,6287,6295,6413,6429,6437,6439,6443,6473],{},[52,5904,2945],{},[27,5906,2948,5907,2951],{},[191,5908,1593],{},[27,5910,2954,5911,2958,5913,2958,5915,2965,5917,248],{},[128,5912,2957],{},[128,5914,2961],{},[128,5916,2964],{},[128,5918,2968],{},[184,5920,5921],{"className":228,"code":2971,"language":230,"meta":189,"style":189},[191,5922,5923,5927,5935,5943,5949,5957,5963,5971,5975,5983,5991,5997,6005,6015,6021,6029,6037,6045,6055,6061,6069,6077,6083,6091,6099,6103,6111,6119,6125,6133,6139,6145,6153,6157,6165,6173,6179,6187,6195,6201,6209,6215,6221,6227,6235],{"__ignoreMap":189},[194,5924,5925],{"class":196,"line":197},[194,5926,2978],{"class":237},[194,5928,5929,5931,5933],{"class":196,"line":203},[194,5930,244],{"class":243},[194,5932,248],{"class":247},[194,5934,440],{"class":251},[194,5936,5937,5939,5941],{"class":196,"line":209},[194,5938,257],{"class":243},[194,5940,248],{"class":247},[194,5942,449],{"class":251},[194,5944,5945,5947],{"class":196,"line":215},[194,5946,267],{"class":243},[194,5948,270],{"class":247},[194,5950,5951,5953,5955],{"class":196,"line":273},[194,5952,276],{"class":243},[194,5954,248],{"class":247},[194,5956,3009],{"class":251},[194,5958,5959,5961],{"class":196,"line":284},[194,5960,287],{"class":243},[194,5962,270],{"class":247},[194,5964,5965,5967,5969],{"class":196,"line":292},[194,5966,3020],{"class":243},[194,5968,248],{"class":247},[194,5970,3025],{"class":247},[194,5972,5973],{"class":196,"line":480},[194,5974,812],{"class":811},[194,5976,5977,5979,5981],{"class":196,"line":491},[194,5978,244],{"class":243},[194,5980,248],{"class":247},[194,5982,440],{"class":251},[194,5984,5985,5987,5989],{"class":196,"line":499},[194,5986,257],{"class":243},[194,5988,248],{"class":247},[194,5990,830],{"class":251},[194,5992,5993,5995],{"class":196,"line":505},[194,5994,267],{"class":243},[194,5996,270],{"class":247},[194,5998,5999,6001,6003],{"class":196,"line":511},[194,6000,276],{"class":243},[194,6002,248],{"class":247},[194,6004,3060],{"class":251},[194,6006,6007,6009,6011,6013],{"class":196,"line":522},[194,6008,668],{"class":243},[194,6010,248],{"class":247},[194,6012,3069],{"class":251},[194,6014,3072],{"class":237},[194,6016,6017,6019],{"class":196,"line":530},[194,6018,287],{"class":243},[194,6020,270],{"class":247},[194,6022,6023,6025,6027],{"class":196,"line":541},[194,6024,3083],{"class":243},[194,6026,248],{"class":247},[194,6028,1296],{"class":1295},[194,6030,6031,6033,6035],{"class":196,"line":549},[194,6032,3092],{"class":243},[194,6034,248],{"class":247},[194,6036,3097],{"class":251},[194,6038,6039,6041,6043],{"class":196,"line":560},[194,6040,869],{"class":243},[194,6042,248],{"class":247},[194,6044,3060],{"class":251},[194,6046,6047,6049,6051,6053],{"class":196,"line":571},[194,6048,3110],{"class":243},[194,6050,248],{"class":247},[194,6052,3115],{"class":251},[194,6054,3118],{"class":237},[194,6056,6057,6059],{"class":196,"line":579},[194,6058,3123],{"class":243},[194,6060,270],{"class":247},[194,6062,6063,6065,6067],{"class":196,"line":590},[194,6064,3130],{"class":243},[194,6066,248],{"class":247},[194,6068,3135],{"class":251},[194,6070,6071,6073,6075],{"class":196,"line":600},[194,6072,3140],{"class":243},[194,6074,248],{"class":247},[194,6076,3145],{"class":732},[194,6078,6079,6081],{"class":196,"line":823},[194,6080,879],{"class":243},[194,6082,270],{"class":247},[194,6084,6085,6087,6089],{"class":196,"line":833},[194,6086,887],{"class":243},[194,6088,248],{"class":247},[194,6090,449],{"class":251},[194,6092,6093,6095,6097],{"class":196,"line":840},[194,6094,897],{"class":243},[194,6096,248],{"class":247},[194,6098,3009],{"class":251},[194,6100,6101],{"class":196,"line":850},[194,6102,812],{"class":811},[194,6104,6105,6107,6109],{"class":196,"line":859},[194,6106,244],{"class":243},[194,6108,248],{"class":247},[194,6110,440],{"class":251},[194,6112,6113,6115,6117],{"class":196,"line":866},[194,6114,257],{"class":243},[194,6116,248],{"class":247},[194,6118,449],{"class":251},[194,6120,6121,6123],{"class":196,"line":876},[194,6122,267],{"class":243},[194,6124,270],{"class":247},[194,6126,6127,6129,6131],{"class":196,"line":884},[194,6128,276],{"class":243},[194,6130,248],{"class":247},[194,6132,3202],{"class":251},[194,6134,6135,6137],{"class":196,"line":894},[194,6136,287],{"class":243},[194,6138,270],{"class":247},[194,6140,6141,6143],{"class":196,"line":904},[194,6142,3213],{"class":243},[194,6144,270],{"class":247},[194,6146,6147,6149,6151],{"class":196,"line":912},[194,6148,3220],{"class":243},[194,6150,248],{"class":247},[194,6152,3060],{"class":251},[194,6154,6155],{"class":196,"line":3227},[194,6156,812],{"class":811},[194,6158,6159,6161,6163],{"class":196,"line":3232},[194,6160,244],{"class":243},[194,6162,248],{"class":247},[194,6164,440],{"class":251},[194,6166,6167,6169,6171],{"class":196,"line":3241},[194,6168,257],{"class":243},[194,6170,248],{"class":247},[194,6172,830],{"class":251},[194,6174,6175,6177],{"class":196,"line":3250},[194,6176,267],{"class":243},[194,6178,270],{"class":247},[194,6180,6181,6183,6185],{"class":196,"line":3257},[194,6182,276],{"class":243},[194,6184,248],{"class":247},[194,6186,3264],{"class":251},[194,6188,6189,6191,6193],{"class":196,"line":3267},[194,6190,668],{"class":243},[194,6192,248],{"class":247},[194,6194,1740],{"class":251},[194,6196,6197,6199],{"class":196,"line":3276},[194,6198,287],{"class":243},[194,6200,270],{"class":247},[194,6202,6203,6205,6207],{"class":196,"line":3283},[194,6204,869],{"class":243},[194,6206,248],{"class":247},[194,6208,3264],{"class":251},[194,6210,6211,6213],{"class":196,"line":3292},[194,6212,907],{"class":243},[194,6214,270],{"class":247},[194,6216,6217,6219],{"class":196,"line":3299},[194,6218,704],{"class":247},[194,6220,1533],{"class":251},[194,6222,6223,6225],{"class":196,"line":3306},[194,6224,879],{"class":243},[194,6226,270],{"class":247},[194,6228,6229,6231,6233],{"class":196,"line":3313},[194,6230,887],{"class":243},[194,6232,248],{"class":247},[194,6234,449],{"class":251},[194,6236,6237,6239,6241],{"class":196,"line":3322},[194,6238,897],{"class":243},[194,6240,248],{"class":247},[194,6242,3202],{"class":251},[184,6244,6245],{"className":186,"code":3331,"language":188,"meta":189,"style":189},[191,6246,6247,6251],{"__ignoreMap":189},[194,6248,6249],{"class":196,"line":197},[194,6250,3338],{},[194,6252,6253],{"class":196,"line":203},[194,6254,3343],{},[27,6256,3346,6257,63,6259,3353,6261,3357,6263,3361,6265,248],{},[191,6258,3349],{},[191,6260,3352],{},[191,6262,3356],{},[191,6264,3360],{},[128,6266,3364,6267],{},[191,6268,3367],{},[184,6270,6271],{"className":228,"code":3370,"language":230,"meta":189,"style":189},[191,6272,6273,6279],{"__ignoreMap":189},[194,6274,6275,6277],{"class":196,"line":197},[194,6276,3377],{"class":243},[194,6278,270],{"class":247},[194,6280,6281,6283,6285],{"class":196,"line":203},[194,6282,1397],{"class":243},[194,6284,248],{"class":247},[194,6286,3264],{"class":251},[27,6288,3390,6289,3394,6291,3397,6293,3400],{},[191,6290,3393],{},[191,6292,1593],{},[191,6294,3356],{},[184,6296,6297],{"className":228,"code":3403,"language":230,"meta":189,"style":189},[191,6298,6299,6305,6311,6319,6327,6331,6337,6347,6355,6363,6371,6377,6387,6395,6399,6405],{"__ignoreMap":189},[194,6300,6301,6303],{"class":196,"line":197},[194,6302,1492],{"class":243},[194,6304,270],{"class":247},[194,6306,6307,6309],{"class":196,"line":203},[194,6308,1516],{"class":243},[194,6310,270],{"class":247},[194,6312,6313,6315,6317],{"class":196,"line":209},[194,6314,1528],{"class":243},[194,6316,248],{"class":247},[194,6318,1533],{"class":251},[194,6320,6321,6323,6325],{"class":196,"line":215},[194,6322,1538],{"class":243},[194,6324,248],{"class":247},[194,6326,3434],{"class":1295},[194,6328,6329],{"class":196,"line":273},[194,6330,411],{"emptyLinePlaceholder":410},[194,6332,6333,6335],{"class":196,"line":284},[194,6334,3443],{"class":243},[194,6336,270],{"class":247},[194,6338,6339,6341,6343,6345],{"class":196,"line":292},[194,6340,1162],{"class":247},[194,6342,707],{"class":243},[194,6344,248],{"class":247},[194,6346,3202],{"class":251},[194,6348,6349,6351,6353],{"class":196,"line":480},[194,6350,3220],{"class":243},[194,6352,248],{"class":247},[194,6354,3264],{"class":251},[194,6356,6357,6359,6361],{"class":196,"line":491},[194,6358,3468],{"class":243},[194,6360,248],{"class":247},[194,6362,3473],{"class":251},[194,6364,6365,6367,6369],{"class":196,"line":499},[194,6366,3478],{"class":243},[194,6368,248],{"class":247},[194,6370,1296],{"class":1295},[194,6372,6373,6375],{"class":196,"line":505},[194,6374,3487],{"class":243},[194,6376,270],{"class":247},[194,6378,6379,6381,6383,6385],{"class":196,"line":511},[194,6380,533],{"class":247},[194,6382,3496],{"class":243},[194,6384,248],{"class":247},[194,6386,3501],{"class":251},[194,6388,6389,6391,6393],{"class":196,"line":522},[194,6390,2098],{"class":243},[194,6392,248],{"class":247},[194,6394,3501],{"class":251},[194,6396,6397],{"class":196,"line":530},[194,6398,411],{"emptyLinePlaceholder":410},[194,6400,6401,6403],{"class":196,"line":541},[194,6402,3518],{"class":243},[194,6404,270],{"class":247},[194,6406,6407,6409,6411],{"class":196,"line":549},[194,6408,3525],{"class":243},[194,6410,248],{"class":247},[194,6412,3530],{"class":251},[184,6414,6415],{"className":186,"code":3533,"language":188,"meta":189,"style":189},[191,6416,6417,6421,6425],{"__ignoreMap":189},[194,6418,6419],{"class":196,"line":197},[194,6420,3540],{},[194,6422,6423],{"class":196,"line":203},[194,6424,1311],{},[194,6426,6427],{"class":196,"line":209},[194,6428,3549],{},[27,6430,3552,6431,3555,6433,3559,6435,3562],{},[128,6432,1857],{},[191,6434,3558],{},[191,6436,1924],{},[323,6438,1929],{"id":3565},[27,6440,3568,6441,3572],{},[191,6442,3571],{},[184,6444,6445],{"className":228,"code":3575,"language":230,"meta":189,"style":189},[191,6446,6447,6453,6461,6465],{"__ignoreMap":189},[194,6448,6449,6451],{"class":196,"line":197},[194,6450,2071],{"class":243},[194,6452,270],{"class":247},[194,6454,6455,6457,6459],{"class":196,"line":203},[194,6456,2078],{"class":243},[194,6458,248],{"class":247},[194,6460,3592],{"class":251},[194,6462,6463],{"class":196,"line":209},[194,6464,3597],{"class":237},[194,6466,6467,6469,6471],{"class":196,"line":215},[194,6468,2208],{"class":243},[194,6470,248],{"class":247},[194,6472,3606],{"class":732},[27,6474,3609,6475,3612,6477,3616],{},[191,6476,3571],{},[191,6478,3615],{},[3618,6480,3620],{},{"title":189,"searchDepth":203,"depth":203,"links":6482},[6483,6495,6500],{"id":95,"depth":203,"text":96,"children":6484},[6485,6486,6487,6488,6489,6490,6491,6492,6493,6494],{"id":116,"depth":209,"text":117},{"id":134,"depth":209,"text":135},{"id":178,"depth":209,"text":179},{"id":153,"depth":209,"text":321},{"id":620,"depth":209,"text":621},{"id":961,"depth":209,"text":962},{"id":1097,"depth":209,"text":1098},{"id":1331,"depth":209,"text":1332},{"id":1850,"depth":209,"text":1851},{"id":2284,"depth":209,"text":2285},{"id":2432,"depth":203,"text":2433,"children":6496},[6497,6498,6499],{"id":2442,"depth":209,"text":2443},{"id":2472,"depth":209,"text":2473},{"id":2825,"depth":209,"text":2826},{"id":2936,"depth":203,"text":2937},{},{"title":14,"description":3643},{"loc":15,"images":6504,"lastmod":3642},[6505,6506,6507,6508,6509,6510],{"loc":2302},{"loc":2311},{"loc":2395},{"loc":2413},{"loc":2918},{"loc":2927},[3658,3659,3660,3661],{"id":6513,"title":10,"author":6514,"body":6515,"category":3641,"date":7032,"description":3665,"draft":17,"extension":3644,"featured":410,"image":7033,"meta":7034,"minRead":511,"navigation":410,"ogImage":3647,"path":11,"robots":3647,"schemaOrg":3647,"seo":7035,"sitemap":7036,"stem":12,"tags":7041,"updated":3647,"__hash__":7044},"blog\u002Fblog\u002Faffordable-kubernetes-the-best-options.md",{"name":21,"avatar":22},{"type":24,"value":6516,"toc":7019},[6517,6526,6530,6615,6621,6624,6628,6652,6658,6662,6671,6675,6843,6852,6857,6861,6870,6879,6888,6897,6906,6911,6917,6920,6928,6932,6941,6956,6959,6979,6982,6986,6995,7008,7014,7016],[27,6518,6519,6520,6525],{},"Kubernetes brought democracy to the cloud somewhat. Anyone in the community can suggest a feature by writing a ",[38,6521,6524],{"href":6522,"rel":6523},"https:\u002F\u002Fwww.kubernetes.dev\u002Fresources\u002Fkeps\u002F",[42],"Kubernetes Enhancement Proposal (KEP)",". You can deploy a cluster on several clouds and choose how agnostic or locked-in you become.\nThat's great, but it's still the cloud, and the cloud is still expensive. This may be discouraging to someone who's trying to learn Kubernetes for real, or a startup that just wants an affordable test environment. The good news is that there are several affordable options to stand up a functional and secure k8s cluster.",[93,6527,6529],{"id":6528},"what-are-your-options","What are your options?",[49,6531,6532,6534],{},[52,6533,54],{},[978,6535,6536,6563],{},[981,6537,6538],{},[984,6539,6540,6542,6549,6556],{},[987,6541],{},[987,6543,6544],{},[38,6545,6548],{"href":6546,"rel":6547},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005006801741948.html",[42],"OrangePi 5 Pro",[987,6550,6551],{},[38,6552,6555],{"href":6553,"rel":6554},"https:\u002F\u002Fwww.hetzner.com\u002Fcloud\u002Fregular-performance\u002F",[42],"Hetzner",[987,6557,6558],{},[38,6559,6562],{"href":6560,"rel":6561},"https:\u002F\u002Fcontabo.com\u002Fen\u002Fvps-performance\u002F",[42],"Contabo",[994,6564,6565,6579,6602],{},[984,6566,6567,6570,6573,6576],{},[999,6568,6569],{},"Setup Difficulty",[999,6571,6572],{},"⬤ ⬤ ⬤ ⬤",[999,6574,6575],{},"⬤ ⬤",[999,6577,6578],{},"⬤ ⬤ ⬤",[984,6580,6581,6584,6590,6596],{},[999,6582,6583],{},"Cost (test env)",[999,6585,6586,6587,6589],{},"$350 for 16GB RAM, 8 CPU",[31,6588],{},"(one time purchase)",[999,6591,6592,6593,6595],{},"$80 for 16GB RAM, 8 CPU",[31,6594],{},"(postpaid monthly)",[999,6597,6598,6599,6601],{},"$45 for 24GB RAM, 8 CPU",[31,6600],{},"(prepaid monthly)",[984,6603,6604,6607,6610,6613],{},[999,6605,6606],{},"Best for",[999,6608,6609],{},"labs, test env",[999,6611,6612],{},"labs, test-prod env",[999,6614,6612],{},[27,6616,6617],{},[2299,6618],{"alt":6619,"src":6620},"Line chart of total cost over 12 months for a 16GB, 8 CPU test environment. The OrangePi stays flat at $350 after the one-time purchase. Hetzner grows by $80 a month and passes the OrangePi in month 5. Contabo grows by $45 a month and passes the OrangePi in month 8.","\u002Fimages\u002Faffordable-kubernetes-the-best-options\u002Fdiagrams\u002Fcost.png",[27,6622,6623],{},"Firstly, it's important to remove any stereotypes that tell you that production environments can only be deployed on a major hyperscaler or some super expensive self-maintained data center. There are several organizations that were able to reduce their entire cloud bill from tens of thousands to a few thousand dollars because they changed their mindset. That said, let's get into the options.",[93,6625,6627],{"id":6626},"orangepi","OrangePi",[27,6629,6630,6631,6635,6636,63,6641,6646,6647,6651],{},"This is one of the more powerful cousins of the Raspberry Pi, with a lot more options. It has the most expensive initial cost among the options. For about $350 you can get a board with 8 CPUs and 16GB RAM like the ",[38,6632,6634],{"href":6546,"rel":6633},[42],"Orange Pi 5 Pro",", ",[38,6637,6640],{"href":6638,"rel":6639},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005007356107781.html",[42],"Orange Pi 5 Max",[38,6642,6645],{"href":6643,"rel":6644},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005010157378785.html",[42],"Orange Pi 6 Plus",". If you have a higher budget, you could also get 32GB variants like this ",[38,6648,6645],{"href":6649,"rel":6650},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005012530475330.html",[42],".\nYou'd also need to get a router, network cable, power cable and charging brick that meets the power demand of the unit you have.",[106,6653,6655],{"color":108,"icon":6654},"i-lucide-plug-zap",[27,6656,6657],{},"Meeting the power requirement is very essential, or your unit just won't run.",[114,6659,6661],{"id":6660},"my-orangepi-setup","My OrangePi Setup",[27,6663,6664,6665,6670],{},"I use my OrangePi cluster to test fairly heavy workloads like the ",[38,6666,6669],{"href":6667,"rel":6668},"https:\u002F\u002Fgrafana.com\u002Fabout\u002Fgrafana-stack\u002F",[42],"LGTM+ stack"," running in microservices mode. This setup should give an idea of a practical configuration, although the final price you get might vary.",[323,6672,6674],{"id":6673},"physical-components","Physical Components",[978,6676,6677,6690],{},[981,6678,6679],{},[984,6680,6681,6684,6687],{},[987,6682,6683],{},"Item",[987,6685,6686],{},"QTY",[987,6688,6689],{},"Total Price",[994,6691,6692,6707,6722,6736,6750,6764,6778,6792,6806,6820,6830],{},[984,6693,6694,6701,6704],{},[999,6695,6696],{},[38,6697,6700],{"href":6698,"rel":6699},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005006800863351.html",[42],"Orange Pi 5 Pro (8 CPU, 16GB RAM)",[999,6702,6703],{},"x4",[999,6705,6706],{},"$1,264.33",[984,6708,6709,6716,6719],{},[999,6710,6711],{},[38,6712,6715],{"href":6713,"rel":6714},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005006160291558.html",[42],"M2.5 Series Hex Brass Column",[999,6717,6718],{},"x1",[999,6720,6721],{},"$11.73",[984,6723,6724,6731,6733],{},[999,6725,6726],{},[38,6727,6730],{"href":6728,"rel":6729},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005007294796796.html",[42],"Wire Zip Ties",[999,6732,6718],{},[999,6734,6735],{},"$1.32",[984,6737,6738,6745,6747],{},[999,6739,6740],{},[38,6741,6744],{"href":6742,"rel":6743},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005013515583073.html",[42],"SanDisk Extreme Pro Micro SD",[999,6746,6703],{},[999,6748,6749],{},"$63.84",[984,6751,6752,6759,6761],{},[999,6753,6754],{},[38,6755,6758],{"href":6756,"rel":6757},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005004405900182.html",[42],"KingSpec SSD (128GB)",[999,6760,6703],{},[999,6762,6763],{},"$129.81",[984,6765,6766,6773,6775],{},[999,6767,6768],{},[38,6769,6772],{"href":6770,"rel":6771},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005006989183547.html",[42],"Orange Pi 5 Pro Acrylic Case",[999,6774,6703],{},[999,6776,6777],{},"$27.17",[984,6779,6780,6787,6789],{},[999,6781,6782],{},[38,6783,6786],{"href":6784,"rel":6785},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005010379307213.html",[42],"Orange Pi 5 Pro Copper Case",[999,6788,6703],{},[999,6790,6791],{},"$89.05",[984,6793,6794,6801,6803],{},[999,6795,6796],{},[38,6797,6800],{"href":6798,"rel":6799},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005008525558891.html",[42],"Cooling Fan 30 x 30 x 7mm (5V)",[999,6802,6703],{},[999,6804,6805],{},"$11.96",[984,6807,6808,6815,6817],{},[999,6809,6810],{},[38,6811,6814],{"href":6812,"rel":6813},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005008830706618.html",[42],"8-Port Ethernet Network Switch",[999,6816,6718],{},[999,6818,6819],{},"$20.96",[984,6821,6822,6825,6827],{},[999,6823,6824],{},"Broadband router (already had one)",[999,6826,6718],{},[999,6828,6829],{},"-",[984,6831,6832,6836,6838],{},[999,6833,6834],{},[128,6835,6689],{},[999,6837],{},[999,6839,6840],{},[128,6841,6842],{},"$1,620.17",[27,6844,6845,6846,6851],{},"I had also bought a ",[38,6847,6850],{"href":6848,"rel":6849},"https:\u002F\u002Fwww.aliexpress.com\u002Fitem\u002F1005004910531555.html",[42],"10 Ports USB 3.0 HUB Charging"," at some point. I paused using it for several months, but when I finally decided to use it again, it didn't work.",[106,6853,6854],{"color":108,"icon":109},[27,6855,6856],{},"If an item is no longer available from the linked seller, it can probably be bought from another seller.",[323,6858,6860],{"id":6859},"pi-k8s-setup","Pi K8s Setup",[27,6862,6863,6864,6869],{},"I installed ",[38,6865,6868],{"href":6866,"rel":6867},"https:\u002F\u002Fgithub.com\u002Fmack42\u002FOrangePi5Pro",[42],"Ubuntu 26.04"," on each server, initially on the SD cards, then on the SSD drives. The easier option is to install the OS only on the SD card, as it allows you to use the SSD fully for persistent volume storage.",[27,6871,6872,6873,6878],{},"I installed k3s using a modified version of the ",[38,6874,6877],{"href":6875,"rel":6876},"https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s-ansible",[42],"k3s-ansible"," project. I also used Cilium for the CNI, load balancer and Gateway API, but you'd be fine using the defaults.",[27,6880,6881,6882,6887],{},"I installed external-dns + cert-manager and integrated them with Azure DNS (I bought the domain from Hostinger and ",[38,6883,6886],{"href":6884,"rel":6885},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fazure\u002Fdns\u002Fdns-delegate-domain-azure-dns",[42],"delegated it to Azure","). At this point, I could only access the cluster when on the local network, but I didn't have to deal with certificate issues or mess with host entries.",[27,6889,6890,6891,6896],{},"For access over the internet, I bought a cheap VPS on Contabo, linked it to the Pi servers using ",[38,6892,6895],{"href":6893,"rel":6894},"https:\u002F\u002Fpinggy.io\u002Fblog\u002Fssh_reverse_tunnelling\u002F",[42],"SSH reverse tunneling"," and exposed it via TLSRoute (k3s was also installed on the Contabo server).",[27,6898,6899,6900,6905],{},"That method wasn't really neat, so what I'd rather advise is to use ",[38,6901,6904],{"href":6902,"rel":6903},"https:\u002F\u002Fgithub.com\u002Ffatedier\u002Ffrp",[42],"fast reverse proxy",", which will link the 2 clusters (the Pi cluster and the one on the server).",[2837,6907,6908],{},[27,6909,6910],{},"Tailscale can also do the job.",[27,6912,6913],{},[2299,6914],{"alt":6915,"src":6916},"How a reader reaches the OrangePi cluster: the browser connects to a public Contabo VPS running k3s, and an frp tunnel (or SSH reverse tunnel, or Tailscale) carries the traffic through the home router and switch to the four Orange Pi nodes. On the local network, devices reach the nodes directly.","\u002Fimages\u002Faffordable-kubernetes-the-best-options\u002Fdiagrams\u002Fpi-access.drawio.svg",[93,6918,6555],{"id":6919},"hetzner",[27,6921,6922,6923,6927],{},"Hetzner is the most mature and production-ready option, thanks to community contributions. One regular performance server with 8 vCPU and 16GB RAM - ",[38,6924,6926],{"href":6553,"rel":6925},[42],"CPX42"," will cost ~$80.",[114,6929,6931],{"id":6930},"my-hetzner-setup","My Hetzner Setup",[27,6933,6934,6935,6940],{},"I mostly use Hetzner for short end-to-end tests when I need a throwaway server. Though you can buy domains from Hetzner's ",[38,6936,6939],{"href":6937,"rel":6938},"https:\u002F\u002Fwww.hetzner.com\u002Fregistrationrobot\u002F",[42],"domain registration robot",", I still bought my domain from Hostinger and delegated it to Hetzner's nameservers.",[27,6942,6943,6944,6949,6950,6955],{},"I use the ",[38,6945,6948],{"href":6946,"rel":6947},"https:\u002F\u002Fgithub.com\u002Fhcloud-k8s\u002Fterraform-hcloud-kubernetes",[42],"hcloud-k8s"," Terraform module to set up the cluster, but you can also use ",[38,6951,6954],{"href":6952,"rel":6953},"https:\u002F\u002Fgithub.com\u002Fvitobotta\u002Fhetzner-k3s",[42],"hetzner-k3s",". A good note for secure access here is that it comes with Tailscale support.",[93,6957,6562],{"id":6958},"contabo",[27,6960,6961,6962,6967,6968,6972,6973,6978],{},"Contabo is a really great option once you understand its quirks. For example, payment is prepaid, so you can't just spin up and tear down servers as you wish. You can cancel a server's subscription, but it will stay active till the end of its billing period since you already paid in full. Similar to Hetzner, there are also 3 main pricing tiers. The ",[38,6963,6966],{"href":6964,"rel":6965},"https:\u002F\u002Fcontabo.com\u002Fen\u002Fvps\u002F",[42],"Core VPS"," is subject to heavy sharing on CPU cores, disk I\u002FO and network links. ",[38,6969,6971],{"href":6560,"rel":6970},[42],"Performance VPS"," works similarly but uses newer AMD EPYC processors. ",[38,6974,6977],{"href":6975,"rel":6976},"https:\u002F\u002Fcontabo.com\u002Fen\u002Fvps-dedicated\u002F",[42],"Max Performance VPS (VDS)"," offers full compute isolation and is what you'll want to use for production.",[27,6980,6981],{},"Contabo doesn't have feature parity with Hetzner, but it has all the features you need to create a cluster.",[114,6983,6985],{"id":6984},"my-contabo-setup","My Contabo Setup",[27,6987,6988,6989,6994],{},"I personally use Contabo in production. Like Hetzner, you can ",[38,6990,6993],{"href":6991,"rel":6992},"https:\u002F\u002Fcontabo.com\u002Fen\u002Fdomains\u002F",[42],"buy domains from Contabo",", but I prefer to buy mine from Hostinger and delegate it to Contabo's nameservers. Why? Because that's the cheaper option.",[27,6996,6997,6998,7003,7004,7007],{},"The Terraform module I use is ",[38,6999,7002],{"href":7000,"rel":7001},"https:\u002F\u002Fregistry.terraform.io\u002Fmodules\u002Fhayone1\u002Fkubernetes\u002Fcontabo\u002Flatest",[42],"contabo-kubernetes",". It's the only module available. It also comes with support for Tailscale\u002FHeadscale integration. One major difference in the architecture compared to the Hetzner setup is that your load balancer will essentially be one or more of the nodes rather than a dedicated cloud load balancer service.\nYou can also use ",[38,7005,6877],{"href":6875,"rel":7006},[42]," if Ansible is your preferred route.",[27,7009,7010],{},[2299,7011],{"alt":7012,"src":7013},"Load balancing on Hetzner and on Contabo. On Hetzner, traffic from the internet reaches a managed Hetzner Load Balancer, which spreads it over the cluster nodes. On Contabo, traffic reaches the public IP of one or more cluster nodes, and that node acts as the load balancer for the rest of the cluster.","\u002Fimages\u002Faffordable-kubernetes-the-best-options\u002Fdiagrams\u002Fload-balancer.drawio.svg",[93,7015,2937],{"id":2936},[27,7017,7018],{},"When you cut out most of the marketing noise, you'd find that there are several cost-effective ways to do many things, including deploying Kubernetes. What about stateful workloads like databases, you say? We'll explore that in another article, which I'll link here once it's ready.",{"title":189,"searchDepth":203,"depth":203,"links":7020},[7021,7022,7025,7028,7031],{"id":6528,"depth":203,"text":6529},{"id":6626,"depth":203,"text":6627,"children":7023},[7024],{"id":6660,"depth":209,"text":6661},{"id":6919,"depth":203,"text":6555,"children":7026},[7027],{"id":6930,"depth":209,"text":6931},{"id":6958,"depth":203,"text":6562,"children":7029},[7030],{"id":6984,"depth":209,"text":6985},{"id":2936,"depth":203,"text":2937},"2026-11-19","\u002Fimages\u002Faffordable-kubernetes-the-best-options\u002Fcover\u002Fcover.png",{},{"title":10,"description":3665},{"loc":11,"images":7037,"lastmod":7032},[7038,7039,7040],{"loc":6620},{"loc":6916},{"loc":7013},[3661,7042,7043],"terraform","linux","rQZw4x01niEI7sV42KKSSjdqvM32YVAWCPMtK70XF-o",1795612414505]