github.com/lkingland/gridd@v0.0.0-20230313082622-f3ae21fe9d22/README.md (about)

     1  # Grid
     2  
     3  Proof-of-concept Boson Func client for use in rapid prototyping.
     4  
     5  Run `make help` for available actions.
     6  
     7  ## Building
     8  
     9  
    10  ## Local Cluster Requirement
    11  
    12  The Grid Daemon (gridd) requires an available Kubernetes-compliant cluster with
    13  Knative installed and a few configuration modifications.  For local development
    14  and testing, a KinD (Kubernetes in Docker) cluster can be used by following the
    15  below procedure.
    16  
    17  Note that the scripts referenced below assume there is not already a cluster 
    18  named `kind`, network named `kind`, or docker process named `kind-registry`.
    19  
    20  1.  Prerequisites
    21  - [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
    22  - kubectl
    23  - yq (note on OSX `brew install python-yq`
    24  
    25  2.  Allocate Cluster Resources
    26  `hack/allocate.sh`
    27  
    28  Sets up a two-node cluster with Knative, Kourier, and a local container registry.
    29  Note that 'kind-registry' must be added manually to the local /etc/hosts file,
    30  and to the docker daemon.config file as an insecure registry.  See the script's
    31  final output for details.
    32  
    33  3.  Configure Cluster
    34  `hack/configure.sh`
    35  
    36  Configures the cluster for hosting Functions, including namespace creation and setup.
    37  
    38  Use `delete.sh` to teardown.
    39  
    40  The cluster is now available for local integration and acceptance testing.
    41  
    42  
    43  
    44  
    45