项目作者: senorsmile

项目描述 :
NFS on Kubernetes Example
高级语言:
项目地址: git://github.com/senorsmile/ansible-role-k8s-nfs.git
创建时间: 2018-12-23T23:14:39Z
项目社区:https://github.com/senorsmile/ansible-role-k8s-nfs

开源协议:

下载


NFS on Kubernetes Example

This is an ansibilization of an example from the following repo:
https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-volumes-example-nfs-persistent-volume.html

Requirements

  • A working kubernetes cluster to run ansible against.

Role Variables

nfs_cluster_state: [‘absent’, ‘present’]

Dependencies

Not dependent on any other roles.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

  1. - hosts: kube-master[0]
  2. become: True
  3. roles:
  4. - role: senorsmile.k8s-nfs
  5. tags:
  6. - k8s
  7. - nfs

License

BSD

Author Information

Shaun Smiley (senorsmile)