app-resource-scaler

command module
v0.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

README

app-resource-scaler

This project serves as a plugin for the generic kubernetes resources scale to zero infrastructure.
It implements scaling of Iguazio's app services, by modifying the appropriate CRDs.

Building the project

There are 2 separate docker images for dlx and scaler, each in their corresponding directories. To build, just run the commands (from the root dir of this project):

docker build -f dlx/Dockerfile -t [repo]/dlx:[version] .
docker build -f autoscaler/Dockerfile -t [repo]/scaler:[version] .

or run

SCALER_TAG=[version] SCALER_REPOSITORY=iguazio/ make build

This will build an image of the scaler components with resourcescaler.go as their plugin.
To publish the image just docker push the resulting images to your favorite repo.

Notes

Modifying vendor dir may result in incompatability with the vendor dir in scaler. Please run docker build as described above to verify nothing was broken.

Documentation

Overview

Copyright 2019 Iguazio Systems Ltd.

Licensed under the Apache License, Version 2.0 (the "License") with an addition restriction as set forth herein. 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.

In addition, you may not use the software for any purposes that are illegal under applicable law, and the grant of the foregoing license under the Apache 2.0 license is conditioned upon your compliance with such restriction.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL