{"id":11769,"date":"2024-01-24T11:43:40","date_gmt":"2024-01-24T10:43:40","guid":{"rendered":"https:\/\/blog.ouidou.fr\/?p=11769"},"modified":"2024-08-26T15:13:10","modified_gmt":"2024-08-26T13:13:10","slug":"migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher","status":"publish","type":"post","link":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher","title":{"rendered":"Guide: migration de cluster K8S Rancher"},"content":{"rendered":"\n<p class=\"has-text-color wp-block-paragraph\" style=\"color:#7c7676\"><em>Article \u00e9crit par Nicolas<\/em> <em>Desombre<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Lorsque que l&rsquo;on g\u00e8re de multiples clusters Kubernetes, Rancher devient vite un outil de choix pour centraliser l&rsquo;acc\u00e8s, l&rsquo;administration ainsi que le provisionnement de nos clusters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Le provisionnement des clusters via Rancher \u00e0 un c\u00f4t\u00e9 bien pratique, celui de <strong>pouvoir d\u00e9ployer via un provider Terraform unique,<\/strong> des clusters utilisant diff\u00e9rentes distributions Kubernetes ainsi que diff\u00e9rent hyperviseur\/cloud public.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mais voil\u00e0, il entra\u00eene une limitation qui finit par poser probl\u00e8me,<strong> il n&rsquo;est pas possible de d\u00e9-enregistrer de l&rsquo;instance Rancher des clusters ainsi provisionn\u00e9s sans les d\u00e9truire.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cette limitation n&rsquo;est pas pr\u00e9sente pour les clusters import\u00e9s, pour lequel une proc\u00e9dure de Rancher est disponible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Attention : cet article ne constitue pas une proc\u00e9dure officielle, mais plut\u00f4t un partage d&rsquo;exp\u00e9rience, je vous invite vivement \u00e0 v\u00e9rifier vos backups avant de faire quoique ce soit. Et je ne peux d&rsquo;ailleurs, \u00e0 ce sujet, que vous conseiller l&rsquo;excellent <a href=\"https:\/\/velero.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">Velero<\/a> sur lequel nous reviendrons sans doute en d\u00e9tail \u00e0 l&rsquo;occasion d&rsquo;un prochain article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"#etat-des-lieux\"><\/a>\u00c9tat des lieux<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Notre histoire est je pense assez banale, <strong>une instance Rancher ancienne reposant sur un cluster RKE,<\/strong> que nous souhaitons d\u00e9-provisionner depuis d\u00e9j\u00e0 un certain temps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons jusque-l\u00e0 r\u00e9ussi \u00e0 retirer progressivement les clusters y \u00e9tant rattach\u00e9 au gr\u00e9 des d\u00e9commissionnements, mais il y reste 2 clusters Azure AKS dit \u00ab\u00a0Rancher-Owned\u00a0\u00bb (provisionn\u00e9 via Rancher) pour lequel aucune d\u00e9commission n&rsquo;est pr\u00e9vue dans un futur proche.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">S&rsquo;agissant d&rsquo;environnements de production sensibles et anciens, nous souhaitions \u00e9viter au maximum une reconstruction de la plateforme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"#mode-op%C3%A9ratoire-utilis%C3%A9\"><\/a>Mode op\u00e9ratoire utilis\u00e9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Comme \u00e9voqu\u00e9 ci-dessus, nos clusters sont ici de type <strong>Azure AKS.<\/strong> Mais cette proc\u00e9dure devrait \u00eatre applicable sans aucun souci pour les autres types de cluster, d\u00e8s lors qu&rsquo;il est possible de g\u00e9n\u00e9rer un <strong>KUBECONFIG ind\u00e9pendant de Rancher.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"#g%C3%A9n%C3%A9ration-dun-kubeconfig\"><\/a>G\u00e9n\u00e9ration d&rsquo;un KUBECONFIG<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">La premi\u00e8re \u00e9tape est donc de g\u00e9n\u00e9rer un <strong>KUBECONFIG local,<\/strong> qui va nous permettre de <strong>reprendre le contr\u00f4le directement via l&rsquo;api du cluster, sans passer par Rancher.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour un cluster AKS, cela passe par l&rsquo;utilisation de la CLI Azure :<\/p>\n\n\n\n<pre id=\"code-49\" class=\"wp-block-code\"><code class=\"\">\u279c  ~ export KUBECONFIG=~\/.kube\/tmp-aks.yaml\n\u279c  ~ az aks get-credentials --resource-group MyRG --name MyCluster\nThe behavior of this command has been altered by the following extension: aks-preview\nMerged \"MyCluster\" as current context in \/Users\/nicolas\/.kube\/tmp-aks.yaml\n\u279c  ~ kubectl get nodes\nNAME                              STATUS   ROLES   AGE    VERSION\naks-default-12345678-vmss000000   Ready    agent   143d   v1.2x.x\naks-default-12345678-vmss000001   Ready    agent   143d   v1.2x.x\naks-default-12345678-vmss000002   Ready    agent   143d   v1.2x.x<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"#rancher-cleanup\"><\/a>Rancher Cleanup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nous allons ensuite supprimer l&rsquo;agent, ainsi que d&rsquo;une mani\u00e8re g\u00e9n\u00e9rale, toutes traces de Rancher sur le cluster \u00e0 l&rsquo;aide de l&rsquo;outil <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/rancher\/rancher-cleanup\" target=\"_blank\">Rancher Cleanup<\/a> :<\/p>\n\n\n\n<pre id=\"code-50\" class=\"wp-block-code\"><code class=\"\">\u279c  ~ git clone https:\/\/github.com\/rancher\/rancher-cleanup.git\n\u279c  ~ kubectl create -f deploy\/rancher-cleanup.yaml<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Comme indiqu\u00e9 dans le <code>README.md<\/code> du d\u00e9p\u00f4t, vous pouvez suivre l&rsquo;avancement de l&rsquo;op\u00e9ration via la commande <code>kubectl -n kube-system logs -l job-name=cleanup-job -f<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Une fois le job <code>Completed<\/code> n&rsquo;oubliez pas de le supprimer via la commande <code>kubectl delete -f deploy\/rancher-cleanup.yaml<\/code>, ceci afin d&rsquo;\u00e9viter une ex\u00e9cution accidentelle ult\u00e9rieurement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Il n&rsquo;y a d\u00e9sormais plus aucune trace de Rancher sur le cluster, qui est redevenu un cluster Azure AKS standard.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"#suppression-du-cluster-dans-rancher\"><\/a>Suppression du cluster dans Rancher<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c0 ce stade, dans l&rsquo;UI de l&rsquo;ancienne instance Rancher, vous devez \u00eatre face \u00e0 de nombreux messages d&rsquo;erreur indiquant une impossibilit\u00e9 de communiquer avec le cluster.<\/p>\n\n\n\n<pre id=\"code-51\" class=\"wp-block-code\"><code class=\"\">- lastUpdateTime: \"2023-11-22T07:06:04Z\"\n    message: 'Error while applying agent YAML, it will be retried automatically: exit\n      status 1, Error from server (InternalError): an error on the server (\"unable\n      to create impersonator account: error getting service account token: service\n      account is not ready\") has prevented the request from succeeding '\n    reason: Error\n    status: \"False\"\n    type: AgentDeployed\n- lastUpdateTime: \"2023-11-22T07:05:31Z\"\n    message: Cluster agent is not connected\n  reason: Disconnected\n  status: \"False\"\n  type: Ready<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ce qui est parfaitement normal puisque <strong>l&rsquo;agent ainsi que le compte RBAC utilis\u00e9 par Rancher ont \u00e9t\u00e9 supprim\u00e9s.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">N\u00e9anmoins, il n&rsquo;est pas encore possible de supprimer le cluster via l&rsquo;UI, Rancher souhaitera toujours le d\u00e9truire dans ce cas de figure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour \u00e9viter cela, nous allons donc devoir \u00e9diter la configuration du cluster dans Rancher. Celle-ci \u00e9tant stock\u00e9e sous forme d&rsquo;objet Kubernetes, nous allons donc simplement utiliser <code>kubectl<\/code> sur le cluster support de l&rsquo;instance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Il faut tout d&rsquo;abord r\u00e9cup\u00e9rer l&rsquo;id du cluster, celui-ci est visible dans l&rsquo;url https:\/\/rancher.mydomain.com\/dashboard\/c\/c-12345\/explorer#cluster-events, ici <code>c-12345<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ensuite, nous allons supprimer les finalizers charg\u00e9 du d\u00e9-provisionnement complet du cluster en cas de suppression de celui-ci :<\/p>\n\n\n\n<pre id=\"code-53\" class=\"wp-block-code\"><code class=\"\">\u279c  rancher-cleanup git:(main) kubectl get clusters.management.cattle.io\nNAME      AGE\nc-12345   525d\nlocal     609d\n\u279c  rancher-cleanup git:(main) kubectl patch clusters.management.cattle.io c-12345 -p '{\"metadata\":{\"finalizers\":null}}' --type=merge\ncluster.management.cattle.io\/c-flhkm patched<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Il ne reste plus qu&rsquo;\u00e0 revenir dans l&rsquo;UI, puis \u00e0 se rendre dans <code>Cluster Management<\/code> et <code>Delete<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"#r%C3%A9int%C3%A9gration-dans-le-rancher-de-destination\"><\/a>R\u00e9int\u00e9gration dans le Rancher de destination<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c0 ce stade, on peut suivre la <a href=\"https:\/\/ranchermanager.docs.rancher.com\/how-to-guides\/new-user-guides\/kubernetes-clusters-in-rancher-setup\/register-existing-clusters#elastic-kubernetes-service-eks-azure-kubernetes-service-aks-and-google-kubernetes-engine-gke\" target=\"_blank\" rel=\"noreferrer noopener\">proc\u00e9dure habituelle d&rsquo;import<\/a> d&rsquo;un cluster AKS dans Rancher.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Avec <a rel=\"noreferrer noopener\" href=\"https:\/\/ranchermanager.docs.rancher.com\/how-to-guides\/new-user-guides\/kubernetes-clusters-in-rancher-setup\/register-existing-clusters#configuring-an-imported-eks-aks-or-gke-cluster-with-terraform\" target=\"_blank\">Terraform<\/a>, l&rsquo;on peut reprendre son code existant et y ajouter le switch <code>\u00ecmported = true<\/code>, attention n\u00e9anmoins aux drifts \u00e9ventuels.<\/p>\n\n\n\n<pre id=\"code-54\" class=\"wp-block-code\"><code class=\"\">resource \"rancher2_cluster\" \"my-aks-to-import\" {\n  name        = \"my-aks-to-import\"\n  description = \"Terraform AKS Cluster\"\n  aks_config_v2 {\n    cloud_credential_id = rancher2_cloud_credential.aks.id\n    name                = var.aws_aks_name\n    region              = var.aws_region\n    imported            = true\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Au bout de quelques minutes, votre cluster doit d\u00e9sormais \u00eatre <strong>disponible dans la nouvelle instance Rancher.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Article \u00e9crit par Nicolas Desombre Lorsque que l&rsquo;on g\u00e8re de multiples clusters Kubernetes, Rancher devient vite un outil de choix pour centraliser l&rsquo;acc\u00e8s, l&rsquo;administration ainsi que<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":10,"featured_media":12231,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-11769","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles-techniques"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Guide: migration de cluster K8S Rancher - Ouidou<\/title>\n<meta name=\"description\" content=\"Dans cet article, d\u00e9couvrez comment migrer un cluster K8S Rancher-Owned vers une autre instance Rancher.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Guide: migration de cluster K8S Rancher - Ouidou\" \/>\n<meta property=\"og:description\" content=\"Dans cet article, d\u00e9couvrez comment migrer un cluster K8S Rancher-Owned vers une autre instance Rancher.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\" \/>\n<meta property=\"og:site_name\" content=\"Ouidou\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-24T10:43:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-26T13:13:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2023\/12\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1105\" \/>\n\t<meta property=\"og:image:height\" content=\"564\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sara Lourties\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sara Lourties\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\"},\"author\":{\"name\":\"Sara Lourties\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#\\\/schema\\\/person\\\/e1d66085fb7c22ede319ce56adc373a4\"},\"headline\":\"Guide: migration de cluster K8S Rancher\",\"datePublished\":\"2024-01-24T10:43:40+00:00\",\"dateModified\":\"2024-08-26T13:13:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\"},\"wordCount\":716,\"publisher\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png\",\"articleSection\":[\"Articles Techniques\"],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\",\"url\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\",\"name\":\"Guide: migration de cluster K8S Rancher - Ouidou\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png\",\"datePublished\":\"2024-01-24T10:43:40+00:00\",\"dateModified\":\"2024-08-26T13:13:10+00:00\",\"description\":\"Dans cet article, d\u00e9couvrez comment migrer un cluster K8S Rancher-Owned vers une autre instance Rancher.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage\",\"url\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png\",\"contentUrl\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png\",\"width\":1105,\"height\":564},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/articles-techniques\\\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guide: migration de cluster K8S Rancher\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/\",\"name\":\"Blog Ouidou\",\"description\":\"Conseil et expertise en technologies\",\"publisher\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#organization\",\"name\":\"Ouidou\",\"url\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/image_2022-04-13_150237378.png\",\"contentUrl\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/image_2022-04-13_150237378.png\",\"width\":180,\"height\":180,\"caption\":\"Ouidou\"},\"image\":{\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ouidou.fr\\\/blog\\\/#\\\/schema\\\/person\\\/e1d66085fb7c22ede319ce56adc373a4\",\"name\":\"Sara Lourties\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b2ef32f9fc1e16168b39587a2ec1dafedc70a9d41fa1b4a930ec7744b3e35ec7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b2ef32f9fc1e16168b39587a2ec1dafedc70a9d41fa1b4a930ec7744b3e35ec7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b2ef32f9fc1e16168b39587a2ec1dafedc70a9d41fa1b4a930ec7744b3e35ec7?s=96&d=mm&r=g\",\"caption\":\"Sara Lourties\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Guide: migration de cluster K8S Rancher - Ouidou","description":"Dans cet article, d\u00e9couvrez comment migrer un cluster K8S Rancher-Owned vers une autre instance Rancher.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher","og_locale":"fr_FR","og_type":"article","og_title":"Guide: migration de cluster K8S Rancher - Ouidou","og_description":"Dans cet article, d\u00e9couvrez comment migrer un cluster K8S Rancher-Owned vers une autre instance Rancher.","og_url":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher","og_site_name":"Ouidou","article_published_time":"2024-01-24T10:43:40+00:00","article_modified_time":"2024-08-26T13:13:10+00:00","og_image":[{"width":1105,"height":564,"url":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2023\/12\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png","type":"image\/png"}],"author":"Sara Lourties","twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"Sara Lourties","Dur\u00e9e de lecture estim\u00e9e":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#article","isPartOf":{"@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher"},"author":{"name":"Sara Lourties","@id":"https:\/\/ouidou.fr\/blog\/#\/schema\/person\/e1d66085fb7c22ede319ce56adc373a4"},"headline":"Guide: migration de cluster K8S Rancher","datePublished":"2024-01-24T10:43:40+00:00","dateModified":"2024-08-26T13:13:10+00:00","mainEntityOfPage":{"@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher"},"wordCount":716,"publisher":{"@id":"https:\/\/ouidou.fr\/blog\/#organization"},"image":{"@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage"},"thumbnailUrl":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2023\/12\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png","articleSection":["Articles Techniques"],"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher","url":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher","name":"Guide: migration de cluster K8S Rancher - Ouidou","isPartOf":{"@id":"https:\/\/ouidou.fr\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage"},"image":{"@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage"},"thumbnailUrl":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2023\/12\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png","datePublished":"2024-01-24T10:43:40+00:00","dateModified":"2024-08-26T13:13:10+00:00","description":"Dans cet article, d\u00e9couvrez comment migrer un cluster K8S Rancher-Owned vers une autre instance Rancher.","breadcrumb":{"@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#primaryimage","url":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2023\/12\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png","contentUrl":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2023\/12\/Migrer-un-cluster-K8S-Rancher-Owned-vers-une-autre-instance-1.png","width":1105,"height":564},{"@type":"BreadcrumbList","@id":"https:\/\/ouidou.fr\/blog\/articles-techniques\/migrer-un-cluster-k8s-rancher-owned-vers-une-autre-instance-rancher#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/ouidou.fr\/blog\/"},{"@type":"ListItem","position":2,"name":"Guide: migration de cluster K8S Rancher"}]},{"@type":"WebSite","@id":"https:\/\/ouidou.fr\/blog\/#website","url":"https:\/\/ouidou.fr\/blog\/","name":"Blog Ouidou","description":"Conseil et expertise en technologies","publisher":{"@id":"https:\/\/ouidou.fr\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ouidou.fr\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/ouidou.fr\/blog\/#organization","name":"Ouidou","url":"https:\/\/ouidou.fr\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/ouidou.fr\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2022\/04\/image_2022-04-13_150237378.png","contentUrl":"https:\/\/ouidou.fr\/blog\/wp-content\/uploads\/2022\/04\/image_2022-04-13_150237378.png","width":180,"height":180,"caption":"Ouidou"},"image":{"@id":"https:\/\/ouidou.fr\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ouidou.fr\/blog\/#\/schema\/person\/e1d66085fb7c22ede319ce56adc373a4","name":"Sara Lourties","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/secure.gravatar.com\/avatar\/b2ef32f9fc1e16168b39587a2ec1dafedc70a9d41fa1b4a930ec7744b3e35ec7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b2ef32f9fc1e16168b39587a2ec1dafedc70a9d41fa1b4a930ec7744b3e35ec7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b2ef32f9fc1e16168b39587a2ec1dafedc70a9d41fa1b4a930ec7744b3e35ec7?s=96&d=mm&r=g","caption":"Sara Lourties"}}]}},"_links":{"self":[{"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/posts\/11769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/comments?post=11769"}],"version-history":[{"count":9,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/posts\/11769\/revisions"}],"predecessor-version":[{"id":15995,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/posts\/11769\/revisions\/15995"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/media\/12231"}],"wp:attachment":[{"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/media?parent=11769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/categories?post=11769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ouidou.fr\/blog\/wp-json\/wp\/v2\/tags?post=11769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}