hoeghh / kubernetes_the_easy_way

Automating Kubernetes the hard way with Vagrant and scripts
MIT License
20 stars 11 forks source link

info required for storage provisor #42

Closed vikasgubbi closed 6 years ago

vikasgubbi commented 6 years ago

Hi,

currently which storage provisor is being used for the setup.

Regards,Vikas

hoeghh commented 6 years ago

I install nfs on each client, so nfs can be used.

Example :

apiVersion: v1
kind: PersistentVolume
metadata:
  name: jira-postgres-pv
  labels:
    volume-type: jira-postgres
spec:
  capacity:
    storage: 5Gi
  accessModes:
    - ReadWriteOnce
  nfs:
    server: nfs-server.example.com
    path: /home/nfsshare/jira-postgres

Then in the config file, add the ip and dns for the nfs, so that each node can resolve them.

export EXTRA_HOSTS="\n
# Add extra hosts entries to each node in the format of \n 
192.168.1.148 nfs-server.example.com                       "
hoeghh commented 6 years ago

Can i close the issue? Or is it not answering the question?

vikasgubbi commented 6 years ago

Please close.

On Thu, 16 Aug 2018, 16:56 Henrik René Høegh, notifications@github.com wrote:

Can i close the issue? Or is it not answering the question?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoeghh/kubernetes_the_easy_way/issues/42#issuecomment-413513245, or mute the thread https://github.com/notifications/unsubscribe-auth/AYAmynf0HUaeuOFqbfGe319scRqsUmcHks5uRVbogaJpZM4VcQwx .