No description
  • Go 97.1%
  • Makefile 1.6%
  • Dockerfile 1%
  • Shell 0.3%
Find a file
Lukáš Koszegy 399fe4c48e
unify installation process of tools (#237)
* unify installation process of tools

* fix padding in makefile

* add clean-tools target into makefile
2023-11-30 20:30:46 +01:00
.github Add breaking category to release drafter workflow (#196) 2023-10-05 10:10:10 +02:00
ceph Add support for resizing the attached volumes (#138) 2023-09-27 14:25:38 +02:00
cli Remove Dependency on Metalnet Plugin (#217) 2023-11-23 15:24:42 +01:00
client/compute Adapt Virtlet to use Apinet resources instead of Metalnet resources (#186) 2023-10-05 16:58:46 +02:00
config Remove Dependency on Metalnet Plugin (#217) 2023-11-23 15:24:42 +01:00
controllers Remove Dependency on Metalnet Plugin (#217) 2023-11-23 15:24:42 +01:00
docs created new branch for faqdoc (#195) 2023-11-13 10:48:47 +01:00
encoding/sysfs Using Dynamic Temp Directories in Test Framework (#166) 2023-09-15 20:06:12 +05:30
hack Fix hack/validate-kustomize.sh 2022-10-13 16:49:48 +02:00
host Adapt Virtlet to use Apinet resources instead of Metalnet resources (#186) 2023-10-05 16:58:46 +02:00
image Unified Function for File Closure with Error Logging (#221) 2023-11-07 11:18:52 +01:00
libvirt Stabilizing NUMA Function (#230) 2023-11-13 11:01:05 +01:00
machinepoolletserver Unified Function for File Closure with Error Logging (#221) 2023-11-07 11:18:52 +01:00
machinepoolletutils Unified Function for File Closure with Error Logging (#221) 2023-11-07 11:18:52 +01:00
meta Graceful shutdown correction (#139) 2023-11-08 15:54:24 +01:00
mocks/libvirt_dialer Improve integration tests for Virtlet (#85) 2023-05-19 15:47:49 +02:00
networkinterface Remove Dependency on Metalnet Plugin (#217) 2023-11-23 15:24:42 +01:00
os Unified Function for File Closure with Error Logging (#221) 2023-11-07 11:18:52 +01:00
qcow2 Implement network plugins 2022-08-26 15:44:14 +02:00
raw Unified Function for File Closure with Error Logging (#221) 2023-11-07 11:18:52 +01:00
scheduler Remove Dependency on Metalnet Plugin (#217) 2023-11-23 15:24:42 +01:00
source Adapt Virtlet to use Apinet resources instead of Metalnet resources (#186) 2023-10-05 16:58:46 +02:00
volume Support Encrypted Volumes, and adapt Virtlet with onmetal-api changes (#62) 2023-03-03 16:53:49 +01:00
.gitignore Add support for resizing the attached volumes (#138) 2023-09-27 14:25:38 +02:00
.golangci.yaml Enhance volume mounting / unmounting process 2022-08-15 17:16:52 +02:00
CODE_OF_CONDUCT.md Add codeowners, contrib guide, code of conduct and license 2022-10-28 10:11:19 +02:00
CODEOWNERS Add codeowners, contrib guide, code of conduct and license 2022-10-28 10:11:19 +02:00
CONTRIBUTING.md Add codeowners, contrib guide, code of conduct and license 2022-10-28 10:11:19 +02:00
Dockerfile Deleting dd From Docker file (#232) 2023-11-08 15:52:13 +01:00
go.mod Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#247) 2023-11-30 20:25:23 +01:00
go.sum Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#247) 2023-11-30 20:25:23 +01:00
LICENSE Add codeowners, contrib guide, code of conduct and license 2022-10-28 10:11:19 +02:00
main.go Remove Dependency on Metalnet Plugin (#217) 2023-11-23 15:24:42 +01:00
Makefile unify installation process of tools (#237) 2023-11-30 20:30:46 +01:00
mkdocs.yml docs: update docs (#127) 2023-09-08 18:49:31 +05:30
README.md Fixing Links in Document (#148) 2023-09-12 03:28:38 +05:30

virtlet

Test PRs Welcome GitHub License

virtlet is a libvirt/qemu based provider implementation of the onmetal-api Machine and MachinePool types.

Please consult the project documentation for additional information.

Getting Started

Youll need a Kubernetes cluster to run against. You can use KIND to get a local cluster for testing or run against a remote cluster. Note: Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster kubectl cluster-info shows).

Running on the cluster

  1. Install Instances of Custom Resources:

    kubectl apply -f config/samples/
    
  2. Build and push your image to the location specified by IMG:

    make docker-build docker-push IMG=<some-registry>/virtlet:tag
    
  3. Deploy the controller to the cluster with the image specified by IMG:

    make deploy IMG=<some-registry>/virtlet:tag
    

Undeploy controller

Undeploy the controller to the cluster:

make undeploy

Contributing

We'd love to get feedback from you. Please report bugs, suggestions or post questions by opening a GitHub issue.

How it works

This project aims to follow the Kubernetes Operator pattern

It uses Controllers which provide a reconcile function responsible for synchronizing resources until the desired state is reached on the cluster

Test It Out

Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running):

make run

NOTE: You can also run this in one step by running: make install run

NOTE: Run make --help for more information on all potential make targets

More information can be found via the Kubebuilder Documentation

License

Copyright 2023.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.