platform-operator-agent

command module
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

Hazelcast Platform Operator Agent

Platform Operator Agent enables users to utilize Hazelcast Platform's features easily in Kubernetes environments. The agent is implemented using Go CDK for cloud providers support which allows the agent to become mostly cloud provider agnostic. Supported providers are: AWS, GCP and Azure.

The agent is used by Hazelcast Platform Operator for supporting multiple features. The features are:

User Code Deployment

There are two commands for user code deployment: bucket-jar-download and url-file-download

User Code from Buckets

Agent downloads jar files from a specified bucket and puts it under destined path. Learn more about bucket-jar-download command using the --help argument.

User Code from URLs

Agent downloads files from a specified URLs and puts them under destined path. Learn more about url-file-download command using the --help argument.

Restore

Agent restores backup files stored as .tar.gz archives from specified bucket and puts the files under destined path. Learn more about restore command using the --help argument.

Backup

Backup command starts an HTTP server for Backup related tasks. Learn more about backup command using the --help argument. It exposes the following endpoints:

  • POST /upload: Agent starts an asynchronous backup process. It uploads the latest Hazelcast backup into specified bucket, arhiving the folder in the process. Returns an id of the backup process.
  • GET /upload/{id}: Returns the status of the backup.
  • POST /upload/{id}/cancel: Cancels the backup process.
  • DELETE /upload/{id}: Deletes the backup process status.
  • GET /health: Returns success if application is running.

License

Please see the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
init
internal
uri

Jump to

Keyboard shortcuts

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