Title: How to deploy Indy image to Kubernetes · Issue #82 · Commonjava/commonjava-images · GitHub
Open Graph Title: How to deploy Indy image to Kubernetes · Issue #82 · Commonjava/commonjava-images
X Title: How to deploy Indy image to Kubernetes · Issue #82 · Commonjava/commonjava-images
Description: Hi, After #80, now I want to deploy Indy to a K8s cluster so that it can be used as an alternative to Nexus Repo Manager. I've come up with my own primitive settings (see below) but I'd like to know your recommended settings with optiona...
Open Graph Description: Hi, After #80, now I want to deploy Indy to a K8s cluster so that it can be used as an alternative to Nexus Repo Manager. I've come up with my own primitive settings (see below) but I'd like to kno...
X Description: Hi, After #80, now I want to deploy Indy to a K8s cluster so that it can be used as an alternative to Nexus Repo Manager. I've come up with my own primitive settings (see below) but I'd lik...
Opengraph URL: https://github.com/Commonjava/commonjava-images/issues/82
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to deploy Indy image to Kubernetes","articleBody":"Hi,\r\n\r\nAfter #80, now I want to deploy Indy to a K8s cluster so that it can be used as an alternative to Nexus Repo Manager. I've come up with my own primitive settings (see below) but I'd like to know your recommended settings with optionally more advanced features, such as externalised etc and data volumes.\r\n\r\nCould you please add some documentation and/or examples on how to deploy Indy to K8s/OpenShift?\r\n\r\nThank you!\r\n\r\n```yaml\r\napiVersion: apps/v1\r\nkind: Deployment\r\nmetadata:\r\n name: indy\r\n namespace: indy\r\nspec:\r\n selector:\r\n matchLabels:\r\n app: indy\r\n template:\r\n metadata:\r\n labels:\r\n app: indy\r\n spec:\r\n containers:\r\n - name: indy\r\n image: quay.io/factory2/indy:2.7.2\r\n ports:\r\n - name: 8080-tcp\r\n containerPort: 8080\r\n - name: 8081-tcp\r\n containerPort: 8081\r\n livenessProbe:\r\n httpGet:\r\n path: /api/stats/version-info\r\n port: 8080\r\n initialDelaySeconds: 30 \r\n periodSeconds: 3\r\n readinessProbe:\r\n httpGet:\r\n path: /api/stats/version-info\r\n port: 8080\r\n initialDelaySeconds: 30\r\n periodSeconds: 3\r\n volumeMounts:\r\n - name: indy-etc\r\n mountPath: /opt/indy/etc/indy\r\n initContainers:\r\n - name: init-etc\r\n image: busybox\r\n command: [\"sh\", \"-c\"]\r\n args:\r\n - cd /tmp \u0026\u0026 wget -O etc.tar.gz https://github.com/Commonjava/indy/releases/download/indy-parent-2.7.2/indy-launcher-2.7.2-etc.tar.gz \u0026\u0026 tar -xf etc.tar.gz \u0026\u0026 mv etc/* /opt/indy/etc/indy/\r\n volumeMounts:\r\n - name: indy-etc\r\n mountPath: /opt/indy/etc/indy\r\n volumes:\r\n - name: indy-etc\r\n emptyDir: {}\r\n```","author":{"url":"https://github.com/tadayosi","@type":"Person","name":"tadayosi"},"datePublished":"2022-06-13T06:44:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/82/commonjava-images/issues/82"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:caac8f38-dab8-9140-8297-67ce910d41e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD76:146594:B1F6C:F6932:697882F0 |
| html-safe-nonce | 9181001b79b06b29d970f102c18544617df8c0b7906bbc85655115804ccc31f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDc2OjE0NjU5NDpCMUY2QzpGNjkzMjo2OTc4ODJGMCIsInZpc2l0b3JfaWQiOiIyNzA4MDkxNDI0MzgwMzIyNTQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5ee64c5ec3cfb676a490d87166d977aad4e7a231a8a84995c88c25f876c5f5a2 |
| hovercard-subject-tag | issue:1268980266 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Commonjava/commonjava-images/82/issue_layout |
| twitter:image | https://opengraph.githubassets.com/306bb7b76c44197638b597a8d7ae280f76ad6cf748f46f9f1e3704a2a8e774c7/Commonjava/commonjava-images/issues/82 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/306bb7b76c44197638b597a8d7ae280f76ad6cf748f46f9f1e3704a2a8e774c7/Commonjava/commonjava-images/issues/82 |
| og:image:alt | Hi, After #80, now I want to deploy Indy to a K8s cluster so that it can be used as an alternative to Nexus Repo Manager. I've come up with my own primitive settings (see below) but I'd like to kno... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tadayosi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/Commonjava/commonjava-images git https://github.com/Commonjava/commonjava-images.git |
| octolytics-dimension-user_id | 12036517 |
| octolytics-dimension-user_login | Commonjava |
| octolytics-dimension-repository_id | 209855464 |
| octolytics-dimension-repository_nwo | Commonjava/commonjava-images |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 209855464 |
| octolytics-dimension-repository_network_root_nwo | Commonjava/commonjava-images |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width