Skip to content

massdriver-cloud/k8s-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Massdriver

k8s-elasticsearch

Release Contributors Forks Stargazers Issues MIT License

Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases.


Design

For detailed information, check out our Operator Guide for this bundle.

Usage

Our bundles aren't intended to be used locally, outside of testing. Instead, our bundles are designed to be configured, connected, deployed and monitored in the Massdriver platform.

What are Bundles?

Bundles are the basic building blocks of infrastructure, applications, and architectures in Massdriver. Read more here.

Bundle

Params

Form input parameters for configuring a bundle for deployment.

View

Properties

  • instance_configuration (object)
    • cpu_limit (number): Unit is in CPUs. Decimal numbers are allowed (3 digits of precision). Value must be between 0.5 and 32. Minimum: 0.5. Maximum: 32.
    • memory_limit (number): Unit is Gi. Decimal numbers are allowed. Value must be between 0.5 and 64. Minimum: 0.5. Maximum: 64.
    • storage (integer): The size (in GiB) of the Elasticsearch instance. Must be an integer between 10 and 1000. Minimum: 10. Maximum: 1000.
  • namespace (string): Choose a namespace for Elasticsearch.
  • replica_configuration (object)
    • replicas (integer): Number of replicas to create. Must be an integer between 1 and 5. Minimum: 1. Maximum: 5.

Examples

{
    "__name": "Development",
    "instance_configuration": {
        "cpu_limit": 1,
        "memory_limit": 2,
        "storage": 10
    },
    "replica_configuration": {
        "replicas": 1
    }
}
{
    "__name": "Production",
    "instance_configuration": {
        "cpu_limit": 4,
        "memory_limit": 8,
        "storage": 50
    },
    "replica_configuration": {
        "replicas": 3
    }
}

Connections

Connections from other bundles that this bundle depends on.

View

Properties

  • kubernetes_cluster (object): Kubernetes cluster authentication and cloud-specific configuration. Cannot contain additional properties.
    • data (object)

      • authentication (object)
        • cluster (object)
          • certificate-authority-data (string)
          • server (string)
        • user (object)
          • token (string)
      • infrastructure (object): Cloud specific Kubernetes configuration data.
        • One of
          • AWS EKS infrastructure configobject: . Cannot contain additional properties.

            • arn (string): Amazon Resource Name.

              Examples:

              "arn:aws:rds::ACCOUNT_NUMBER:db/prod"
              "arn:aws:ec2::ACCOUNT_NUMBER:vpc/vpc-foo"
            • oidc_issuer_url (string): An HTTPS endpoint URL.

              Examples:

              "https://example.com/some/path"
              "https://massdriver.cloud"
          • Infrastructure Configobject: Azure AKS Infrastructure Configuration. Cannot contain additional properties.

            • ari (string): Azure Resource ID.

              Examples:

              "/subscriptions/12345678-1234-1234-abcd-1234567890ab/resourceGroups/resource-group-name/providers/Microsoft.Network/virtualNetworks/network-name"
            • oidc_issuer_url (string)

          • GCP Infrastructure GRNobject: Minimal GCP Infrastructure Config. Cannot contain additional properties.

            • grn (string): GCP Resource Name (GRN).

              Examples:

              "projects/my-project/global/networks/my-global-network"
              "projects/my-project/regions/us-west2/subnetworks/my-subnetwork"
              "projects/my-project/topics/my-pubsub-topic"
              "projects/my-project/subscriptions/my-pubsub-subscription"
              "projects/my-project/locations/us-west2/instances/my-redis-instance"
              "projects/my-project/locations/us-west2/clusters/my-gke-cluster"
    • specs (object)

      • aws (object): .

        • region (string): AWS Region to provision in.

          Examples:

          "us-west-2"
      • azure (object): .

        • region (string): Select the Azure region you'd like to provision your resources in.
      • gcp (object): .

        • project (string)

        • region (string): The GCP region to provision resources in.

          Examples:

          "us-east1"
          "us-east4"
          "us-west1"
          "us-west2"
          "us-west3"
          "us-west4"
          "us-central1"
      • kubernetes (object): Kubernetes distribution and version specifications.

        • cloud (string): Must be one of: ['aws', 'gcp', 'azure'].
        • distribution (string): Must be one of: ['eks', 'gke', 'aks'].
        • platform_version (string)
        • version (string)

Artifacts

Resources created by this bundle that can be connected to other bundles.

View

Properties

  • elasticsearch_authentication (object): Elasticsearch cluster authentication and cloud-specific configuration. Cannot contain additional properties.
    • data (object)
      • authentication: Elasticsearch connection string. Cannot contain additional properties.
        • hostname (string)
        • password (string)
        • port (integer): Port number. Minimum: 0. Maximum: 65535.
        • username (string)
      • infrastructure (object): . Cannot contain additional properties.
        • kubernetes_namespace (string)
        • kubernetes_service (string)
    • specs (object)
      • aws (object): .

        • region (string): AWS Region to provision in.

          Examples:

          "us-west-2"
      • azure (object): .

        • region (string): Select the Azure region you'd like to provision your resources in.
      • elasticsearch (object): Common metadata for Elasticsearch clusters.

        • version (string): The Elasticsearch version. Default: ``.

          Examples:

          "7.17.1"

        Examples:

        {
            "version": "7.17.1"
        }
      • gcp (object): .

        • project (string)

        • region (string): The GCP region to provision resources in.

          Examples:

          "us-east1"
          "us-east4"
          "us-west1"
          "us-west2"
          "us-west3"
          "us-west4"
          "us-central1"

Contributing

Bug Reports & Feature Requests

Did we miss something? Please submit an issue to report any bugs or request additional features.

Developing

Note: Massdriver bundles are intended to be tightly use-case scoped, intention-based, reusable pieces of IaC for use in the Massdriver platform. For this reason, major feature additions that broaden the scope of an existing bundle are likely to be rejected by the community.

Still want to get involved? First check out our contribution guidelines.

Fix or Fork

If your use-case isn't covered by this bundle, you can still get involved! Massdriver is designed to be an extensible platform. Fork this bundle, or create your own bundle from scratch!

Connect

Questions? Concerns? Adulations? We'd love to hear from you!

Please connect with us!

Email GitHub LinkedIn Twitter YouTube Reddit