{"id":372,"date":"2021-12-16T02:16:56","date_gmt":"2021-12-16T01:16:56","guid":{"rendered":"http:\/\/daisy-street.fr\/?p=372"},"modified":"2021-12-16T02:47:58","modified_gmt":"2021-12-16T01:47:58","slug":"ajout-pod-sickchill","status":"publish","type":"post","link":"https:\/\/daisy-street.fr\/index.php\/2021\/12\/16\/ajout-pod-sickchill\/","title":{"rendered":"Ajout pod Sickchill"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">deployement<\/h2>\n\n\n\n<p>La commande docker avec le filesystem prepar\u00e9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d \\\r\n  --name=sickchill \\\r\n  -e PUID=1000 \\\r\n  -e PGID=1000 \\\r\n  -e TZ=Europe\/London \\\r\n  -p 8081:8081 \\\r\n  -v \/path\/to\/data:\/config \\\r\n  -v \/path\/to\/data:\/downloads \\\r\n  -v \/path\/to\/data:\/tv \\\r\n  --restart unless-stopped \\\r\n  lscr.io\/linuxserver\/sickchill<\/code><\/pre>\n\n\n\n<p>traduction en kubernetes deploy :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apiVersion: apps\/v1\r\nkind: Deployment\r\nmetadata:\r\n  name: sickchillserver \r\n  namespace: default\r\n  labels:\r\n    app: sickchill\r\nspec:\r\n  replicas: 1\r\n  selector:\r\n    matchLabels:\r\n      app: sickchill\r\n  template:\r\n    metadata:\r\n      labels:\r\n        run: sickchillserver \r\n        app: sickchill\r\n    spec:\r\n      containers:\r\n      - name: sickchillserver \r\n        image: lscr.io\/linuxserver\/sickchill\r\n        env:\r\n          - name: \"PUID\"\r\n            value: \"1000\"\r\n          - name: \"PGID\"\r\n            value: \"1000\" \r\n        ports:\r\n        - containerPort: 8081\r\n          name: tr-http\r\n        volumeMounts:\r\n        - mountPath: \/config\r\n          name: tr-config\r\n        - mountPath: \/downloads\r\n          name: tr-downloads\r\n        - mountPath: \/tv\r\n          name: tr-tv\r\n        - mountPath: \/anime\r\n          name: tr-anime\r\n      volumes:\r\n      - name: tr-anime\r\n        hostPath:\r\n          type: DirectoryOrCreate\r\n          path: \/Videoclub\/40-Anime\r\n      - name: tr-tv\r\n        hostPath:\r\n          type: DirectoryOrCreate\r\n          path: \/Videoclub\/30-Series\r\n      - name: tr-downloads\r\n        hostPath:\r\n          type: DirectoryOrCreate\r\n          path: \/Videoclub\/00-Tmp\/sickchill\/downloads\r\n      - name: tr-config\r\n        hostPath:\r\n          type: DirectoryOrCreate\r\n          path: \/usr\/kubedata\/sickchillserver\/config\r\n---\r\napiVersion: v1\r\nkind: Service\r\nmetadata:\r\n  name: sickchill-svc\r\nspec:\r\n  selector:\r\n    app: sickchill\r\n  ports:\r\n    - name: \"http\"\r\n      port: 8081\r\n      targetPort: 8081\r\n  type: NodePort<\/code><\/pre>\n\n\n\n<p>puis on recupere le recupere le port d\u2019exposition<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl get all --all-namespaces | grep sickchill<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"70\" data-attachment-id=\"374\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/12\/16\/ajout-pod-sickchill\/image-13-3\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13.png\" data-orig-size=\"1276,87\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-13\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13-300x20.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13-1024x70.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13-1024x70.png\" alt=\"\" class=\"wp-image-374\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13-1024x70.png 1024w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13-300x20.png 300w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13-768x52.png 768w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-13.png 1276w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>resultat le dashboard est accessible https:\/\/&lt;master-ip>:30610<\/p>\n","protected":false},"excerpt":{"rendered":"<p>deployement La commande docker avec le filesystem prepar\u00e9 traduction en kubernetes deploy : puis on recupere le recupere le port d\u2019exposition resultat le dashboard est accessible https:\/\/&lt;master-ip>:30610<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[33,9,53],"class_list":["post-372","post","type-post","status-publish","format-standard","hentry","category-non-classe","tag-kubernetes","tag-serveur","tag-sickchill"],"jetpack_publicize_connections":[],"featured_image_src":null,"author_info":{"display_name":"admin9483","author_link":"https:\/\/daisy-street.fr\/index.php\/author\/admin9483\/"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":1,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/372\/revisions\/375"}],"wp:attachment":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}