{"id":19821715,"url":"https://github.com/cndoit18/lxcfs-on-kubernetes","last_synced_at":"2025-05-01T12:31:20.148Z","repository":{"id":40455727,"uuid":"404981411","full_name":"cndoit18/lxcfs-on-kubernetes","owner":"cndoit18","description":"This project will automatically deploy LXCFS while mounted to the container","archived":false,"fork":false,"pushed_at":"2022-09-21T02:18:41.000Z","size":122,"stargazers_count":39,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T04:21:04.351Z","etag":null,"topics":["container","kubernetes","lxcfs"],"latest_commit_sha":null,"homepage":"https://cndoit18.github.io/lxcfs-on-kubernetes/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cndoit18.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-10T06:39:31.000Z","updated_at":"2024-05-11T07:51:30.000Z","dependencies_parsed_at":"2022-08-09T21:00:59.031Z","dependency_job_id":null,"html_url":"https://github.com/cndoit18/lxcfs-on-kubernetes","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cndoit18%2Flxcfs-on-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cndoit18%2Flxcfs-on-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cndoit18%2Flxcfs-on-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cndoit18%2Flxcfs-on-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cndoit18","download_url":"https://codeload.github.com/cndoit18/lxcfs-on-kubernetes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224257055,"owners_count":17281641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","kubernetes","lxcfs"],"created_at":"2024-11-12T10:30:00.786Z","updated_at":"2024-11-12T10:30:01.702Z","avatar_url":"https://github.com/cndoit18.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lxcfs-on-kubernetes\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/lxcfs-on-kubernetes)](https://artifacthub.io/packages/search?repo=lxcfs-on-kubernetes)\n[![CodeQL](https://github.com/cndoit18/lxcfs-on-kubernetes/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/cndoit18/lxcfs-on-kubernetes/actions/workflows/codeql-analysis.yml)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcndoit18%2Flxcfs-on-kubernetes.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcndoit18%2Flxcfs-on-kubernetes?ref=badge_shield)\n\n\nThis project will automatically deploy [LXCFS](https://github.com/lxc/lxcfs) while mounted to the container\n\n## Introduction\n\n[LXCFS](https://github.com/lxc/lxcfs) is a small FUSE filesystem written with the intention of making Linux\ncontainers feel more like a virtual machine. It started as a side-project of\n`LXC` but is useable by any runtime.\n\n[LXCFS](https://github.com/lxc/lxcfs) will take care that the information provided by crucial files in `procfs`\nsuch as:\n\n```\n/proc/cpuinfo\n/proc/diskstats\n/proc/meminfo\n/proc/stat\n/proc/swaps\n\n/proc/uptime\n/proc/slabinfo\n/sys/devices/system/cpu\n/sys/devices/system/cpu/online\n```\n\nare container aware such that the values displayed (e.g. in `/proc/uptime`)\nreally reflect how long the container is running and not how long the host is\nrunning.\n\n## Prerequisites\n\n1. `Kubernetes` cluster (v1.19+) is running. For local development purpose, check [Kind installation](https://kind.sigs.k8s.io/docs/user/quick-start/#installation).\n1. `cert-manager` (v1.2+) is [installed](https://cert-manager.io/docs/installation/kubernetes/).\n1. `helm` v3 is [installed](https://helm.sh/docs/intro/install/).\n\n## Deploy\n\nRun the helm command to install the lxcfs-on-kubernetes to your cluster:\n\n```\nhelm repo add lxcfs-on-kubernetes https://cndoit18.github.io/lxcfs-on-kubernetes/\n```\n\nyou can then do\n\n```\nhelm upgrade --install lxcfs lxcfs-on-kubernetes/lxcfs-on-kubernetes -n lxcfs --create-namespace\n```\n\nFor what settings you can override with `--set`, `--set-string`, `--set-file` or `--values`, you can refer to the [values.yaml](charts/lxcfs-on-kubernetes/README.md) file.\n\nyou can enable the namespace for injection.\n\n```\nkubectl label namespace default mount-lxcfs=enabled\n```\n\n\u003e You can change it by setting [matchLabels](charts/lxcfs-on-kubernetes/README.md) during installation\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcndoit18%2Flxcfs-on-kubernetes.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcndoit18%2Flxcfs-on-kubernetes?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcndoit18%2Flxcfs-on-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcndoit18%2Flxcfs-on-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcndoit18%2Flxcfs-on-kubernetes/lists"}