GithubHelp home page GithubHelp logo

Comments (6)

omegazeng avatar omegazeng commented on August 19, 2024 5

build arm64

GOOS=linux GOARCH=arm64 go build -o deploy/docker/nfs-provisioner ./cmd/nfs-provisioner
cd deploy/docker/
docker build . -t  omegazeng/nfs-provisioner:latest
docker push omegazeng/nfs-provisioner:latest

install

  • nfs.yaml
# kubectl create ns nfs --context=xxx
# helm repo add kvaps https://kvaps.github.io/charts
# helm install nfs -n nfs kvaps/nfs-server-provisioner -f nfs.yaml --kube-context=xxx

replicaCount: 1

image:
  repository: omegazeng/nfs-provisioner
  tag: latest
  pullPolicy: IfNotPresent

persistence:
  enabled: true
  storageClass: oci
  size: 100Gi

resources:
  limits:
    cpu: 200m
    memory: 256Mi
  requests:
    cpu: 100m
    memory: 128Mi
kubectl create ns nfs --context=xxx
helm repo add kvaps https://kvaps.github.io/charts
helm install nfs -n nfs kvaps/nfs-server-provisioner -f nfs.yaml --kube-context=xxx

k get po -n nfs
NAME                           READY   STATUS    RESTARTS   AGE
nfs-nfs-server-provisioner-0   1/1     Running   0          6m32s

k get sc
NAME            PROVISIONER                                RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
nfs             cluster.local/nfs-nfs-server-provisioner   Delete          Immediate              true                   175m
oci (default)   oracle.com/oci                             Delete          Immediate              false                  8d
oci-bv          blockvolume.csi.oraclecloud.com            Delete          WaitForFirstConsumer   false                  8d

test

  • test-dynamic-volume-claim.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: test-dynamic-volume-claim
spec:
  storageClassName: "nfs"
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 100Mi
k apply -f test-dynamic-volume-claim.yaml
k get pvc
NAME                        STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
test-dynamic-volume-claim   Bound    pvc-28d1e8e4-ebe7-4f12-a0b8-42e99d913ecc   100Mi      RWO            nfs            10m

k get pv
NAME                                                                                CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                   STORAGECLASS   REASON   AGE
ocid1.volume.oc1.phx.abyhqljsv43hgrbhwibnblhtg7myrf46gfd7yp4j5ialzxzftbw6i3g7qtba   100Gi      RWO            Delete           Bound    nfs/data-nfs-nfs-server-provisioner-0   oci                     178m   
pvc-28d1e8e4-ebe7-4f12-a0b8-42e99d913ecc                                            100Mi      RWO            Delete           Bound    default/test-dynamic-volume-claim       nfs                     8m35s 

so good so far.

I will keep this issue open until official support for arm64.

from nfs-ganesha-server-and-external-provisioner.

omegazeng avatar omegazeng commented on August 19, 2024

https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner/tree/v3.0.0/deploy/docker/arm/Dockerfile
only arm32 v7
Hope to support arm64 v8
Thx!

from nfs-ganesha-server-and-external-provisioner.

k8s-triage-robot avatar k8s-triage-robot commented on August 19, 2024

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

from nfs-ganesha-server-and-external-provisioner.

k8s-triage-robot avatar k8s-triage-robot commented on August 19, 2024

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

from nfs-ganesha-server-and-external-provisioner.

k8s-triage-robot avatar k8s-triage-robot commented on August 19, 2024

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

from nfs-ganesha-server-and-external-provisioner.

k8s-ci-robot avatar k8s-ci-robot commented on August 19, 2024

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from nfs-ganesha-server-and-external-provisioner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.