{"id":300,"date":"2021-12-06T00:40:30","date_gmt":"2021-12-05T23:40:30","guid":{"rendered":"http:\/\/daisy-street.fr\/?p=300"},"modified":"2021-12-09T00:45:07","modified_gmt":"2021-12-08T23:45:07","slug":"ajout-pod-filebot-node","status":"publish","type":"post","link":"https:\/\/daisy-street.fr\/index.php\/2021\/12\/06\/ajout-pod-filebot-node\/","title":{"rendered":"Ajout pod Filebot-node"},"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 --rm -it \\ \n     -v \/Videoclub:\/videoclub \\\n     -v \/usr\/kubedata\/filebot-node\/data:\/data \\\n     -p 5452:5452 \\\n     maliciamrg\/filebot-node-479<\/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\nkind: Deployment\nmetadata:\n  name: filebot-node \n  namespace: default\n  labels:\n    app: filebot\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: filebot\n  template:\n    metadata:\n      labels:\n        run: filebot-node \n        app: filebot\n    spec:\n      containers:\n      - name: filebot-node \n        image: maliciamrg\/filebot-node-479\n        ports:\n        - containerPort: 5452\n          name: filebot-http\n        volumeMounts:\n        - mountPath: \/data\n          name: filebot-data\n        - mountPath: \/videoclub\n          name: filebot-media\n      volumes:\n      - name: filebot-data\n        hostPath:\n          type: DirectoryOrCreate\n          path: \/usr\/kubedata\/filebot-node\/data\n      - name: filebot-media\n        hostPath:\n          type: Directory\n          path: \/Videoclub\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: filebot\nspec:\n  selector:\n    app: filebot\n  ports:\n    - name: \"http\"\n      port: 5452\n      targetPort: 5452\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 filebot<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"71\" data-attachment-id=\"302\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/12\/02\/ajout-pod-transmission\/image-3-3\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3.png\" data-orig-size=\"1601,111\" 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-3\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-300x21.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-1024x71.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-1024x71.png\" alt=\"\" class=\"wp-image-302\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-1024x71.png 1024w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-300x21.png 300w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-768x53.png 768w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3-1536x106.png 1536w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/12\/image-3.png 1601w\" 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 accecible https:\/\/&lt;master-ip&gt;:32580<\/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 accecible https:\/\/&lt;master-ip&gt;:32580<\/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":[49,33,9],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-non-classe","tag-filebot","tag-kubernetes","tag-serveur"],"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\/300","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=300"}],"version-history":[{"count":1,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}