-
Notifications
You must be signed in to change notification settings - Fork 8
Expose minio #548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Expose minio #548
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f7a3878
Use secure connection to minio by default
hardbyte 9fe18b9
Always pull latest images on k8s
hardbyte 82cf4c4
Use status code 201 to say credentials have been generated
hardbyte 1c5f9de
Improve k8s deployment - especially the notes
hardbyte 4fa99c5
Remove default minio credentials for k8s
hardbyte 8539eb9
Upgrade to newer postgres chart
hardbyte 426f3e0
Improve comment in values file
hardbyte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,3 +11,4 @@ maintainers: | |
| email: [email protected] | ||
| url: https://data61.csiro.au | ||
| icon: https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-04-11/33560836053_df0d62a81bf32f53df00_72.png | ||
| apiVersion: v1 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,37 +1,48 @@ | ||
|
|
||
| *- Confidential Computing Anonlink Service Deployed -* | ||
| *- Anonlink Service Deployed -* | ||
|
|
||
| Soon you should be able to visit the entity service api. | ||
| The Anonlink Entity Service can be accessed via port {{ .Values.api.service.servicePort }} on the | ||
| following DNS name from within your cluster: | ||
| {{ template "api.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local | ||
|
|
||
| 1. Get the entity service URL by running: | ||
|
|
||
| {{- if contains "NodePort" .Values.api.service.type }} | ||
| {{- if eq .Values.api.service.type "NodePort" "ClusterIP" }} | ||
|
|
||
| export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "es.fullname" . }}) | ||
| export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") | ||
| echo http://$NODE_IP:$NODE_PORT/ | ||
| {{- if .Values.api.ingress.enabled }} | ||
| As you're using an ingress controller you will find the Anonlink Entity Service running at | ||
|
|
||
| http://{{ index .Values.api.ingress.hosts 0 }} | ||
|
|
||
| in just a moment. Note depending on your cluster set up you may have to manually configure the | ||
| DNS entry. | ||
| {{- end }} | ||
|
|
||
| To access Anonlink Entity Service API from localhost: | ||
|
|
||
| export SVC_NAME=$(kubectl get services --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }},tier=frontend" -o jsonpath="{.items[0].metadata.name}") | ||
| kubectl port-forward svc/$SVC_NAME 8080:80 | ||
|
|
||
| Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ | ||
|
|
||
| And visit http://127.0.0.1:8080 | ||
|
|
||
| {{- else if contains "LoadBalancer" .Values.api.service.type }} | ||
|
|
||
| It may take a few minutes for the LoadBalancer IP to be available. | ||
| It may take a few minutes for the LoadBalancer's public IP to be available. | ||
| Watch the status with: | ||
|
|
||
| kubectl get svc -w entityservice-api --namespace {{ .Release.Namespace }} | ||
|
|
||
| export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} entityservice-api -o jsonpath='{.status.loadBalancer.ingress[0].hostname}') | ||
| echo http://$SERVICE_IP/ | ||
|
|
||
| {{- else if contains "ClusterIP" .Values.api.service.type }} | ||
|
|
||
| If you're using an ingress controller (the default) you may have to manually | ||
| add the DNS entry for http://{{ .Values.api.ingress.hosts }} now. | ||
|
|
||
| Alternatively you can port forward the entity service API to your | ||
| local machine: | ||
| {{- end }} | ||
|
|
||
| export SVC_NAME=$(kubectl get services --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }},tier=frontend" -o jsonpath="{.items[0].metadata.name}") | ||
| kubectl port-forward SVC_NAME 8080:80 | ||
| You may wish to connect to the API using anonlink-client. https://github.com/data61/anonlink-client/ | ||
| The client can be installed using pip: | ||
|
|
||
| And visit http://127.0.0.1:8080/ | ||
| $ pip install anonlinkclient | ||
| $ anonlink status --server=<SERVER> | ||
|
|
||
| {{- end }} | ||
| Issues with the Anonlink Entity Service can be created on Github - https://github.com/data61/anonlink-entity-service/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is region hard-coded when everything else is configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be configurable but we'd probably have to introduce another minio/boto client just to connect to
us-east-1for the granting the temporary credentials.