Automation Menu

Functions

3min

In today’s complex software landscape, integrating products written in various programming languages presents a significant challenge. Kubeark Functions emerge as a powerful solution to this challenge, offering the capability to run functions written in multiple programming languages seamlessly.

This feature underscores Kubeark's commitment to flexibility and interoperability, enabling users to deploy functions in diverse environments, including cloud and on-premise, thus avoiding vendor lock-in.

Document image
ο»Ώ

Key Features of Kubeark Functions

  1. Multi-Language Support:
    • Kubeark Functions are designed to operate with a multitude of programming languages, facilitating integration across different software platforms.
    • This versatility ensures that functions written in various languages can be executed within the Kubeark ecosystem without the need for extensive rewrites or adaptations.
  2. Kubernetes Pod Deployment:
    • Functions are deployed in Kubernetes pods, capitalizing on the robustness and scalability of Kubernetes infrastructure.
    • This deployment strategy enhances the reliability and efficiency of function execution, ensuring optimal resource utilization and management.
  3. Custom Resource Allocation:
    • Kubeark allows users to specify the resources allocated for running each function.
    • This flexibility in resource management enables the optimization of performance based on the needs of the function and the overall system load.
  4. Environment Agnostic Execution:
    • Kubeark Functions can be executed in any environment, whether it’s a cloud platform or an on-premise setup.
    • This feature is particularly beneficial for organizations aiming to maintain operational flexibility and avoid dependence on a single vendor or cloud provider.
  5. Solving Integration Challenges:
    • By enabling the execution of functions across various programming languages and environments, Kubeark Functions address a core challenge in modern software integration.
    • This capability significantly simplifies the process of integrating disparate software systems, fostering a more cohesive and efficient digital ecosystem.

How to create a Function in Kubeark

Creating a Function in Kubeark involves a series of straightforward steps that allow users to set up and deploy functions efficiently. Below is a detailed guide on how to create a Function in Kubeark:

  1. Access the Functions Feature:
    • Navigate to the 'Automation' menu in the Kubeark platform.
    • From there, select 'Functions' to access the functions management area.
  2. Initiate Function Creation:
    • Click on the "Create Function" option. This action will bring up the interface for defining a new function.
  3. Configure Function Arguments:
    • General Details: A new window will appear for you to input the necessary details for your function. Here, you'll need to provide:
      • Name: Enter a unique and descriptive name for your function. This name should identify the function’s purpose or its primary action.
      • Description: Provide a brief yet comprehensive description of what the function does. This should include its role and any significant details regarding its operation.
      • Tags: Add relevant tags to categorize and organize your function, facilitating easier management and identification within the platform.
    • In the same window, you will also need to configure the settings for the Function Container Image. This includes:
      • Image: Specify the container deployment image. This is the image that contains the code or application your function will run.
    • Registry Authentication arguments (if required):
      • Registry: Enter the name of the registry where your container image is stored.
      • Auth Username: Provide the authentication username for accessing the registry.
      • Auth Password: Enter the authentication password associated with the username.
    • Container Requests:
      • CPU: Define the amount of CPU resources the function should use. This should align with the function's processing requirements.
      • Memory:: Specify the memory allocation for the function. This ensures the function has sufficient memory to operate efficiently.
  4. Save and Deploy the Function:
    • Once all the necessary information is inputted and configured, click on the β€œSave” button.
    • Your function will now be saved and deployed in Kubeark, ready to be integrated into your workflows or triggered as needed.

ο»Ώ

Creating a Function in Kubeark
Creating a Function in Kubeark
ο»Ώ

ο»Ώ

Updated 19 Apr 2024
Doc contributor
Did this page help you?