Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
operator release v0.0.3 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdheipSingh authored Jun 7, 2023
1 parent 38b0c11 commit 424eaf9
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ help: ## Display this help.
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
$(CONTROLLER_GEN) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=helm/parseable-operator/crds
$(CONTROLLER_GEN) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=helm/operator/crds

.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Expand Down
2 changes: 1 addition & 1 deletion config/samples/parseable-ephemeral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:

nodes:
- name: parseable
- name: parseable-server
type: server
kind: Deployment
replicas: 1
Expand Down
122 changes: 122 additions & 0 deletions config/samples/parseable-multi-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
apiVersion: parseable.io/v1beta1
kind: ParseableTenant

metadata:
name: parseable

spec:

nodes:
- name: parseable-ingestion-1
type: server
kind: Deployment
replicas: 1
k8sConfig: parseable-ingestion-1
parseableConfig: parseable-server-config

- name: parseable-ingestion-2
type: server
kind: Deployment
replicas: 1
k8sConfig: parseable-ingestion-2
parseableConfig: parseable-server-config

- name: parseable-ingestion-3
type: server
kind: Deployment
replicas: 1
k8sConfig: parseable-ingestion-3
parseableConfig: parseable-server-config

deploymentOrder:
- server

k8sConfig:
- name: parseable-ingestion-1
image: parseable/parseable:edge
service:
type: ClusterIP
ports:
- protocol: TCP
port: 80
targetPort: 8000
volumes:
- emptyDir: {}
name: stage-volume
- emptyDir: {}
name: data-volume
volumeMount:
- mountPath: /parseable/data
name: data-volume
- mountPath: /parseable/staging
name: stage-volume
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 128Mi

- name: parseable-ingestion-2
image: parseable/parseable:edge
service:
type: ClusterIP
ports:
- protocol: TCP
port: 80
targetPort: 8000
volumes:
- emptyDir: {}
name: stage-volume
- emptyDir: {}
name: data-volume
volumeMount:
- mountPath: /parseable/data
name: data-volume
- mountPath: /parseable/staging
name: stage-volume
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 128Mi

- name: parseable-ingestion-3
image: parseable/parseable:edge
service:
type: ClusterIP
ports:
- protocol: TCP
port: 80
targetPort: 8000
volumes:
- emptyDir: {}
name: stage-volume
- emptyDir: {}
name: data-volume
volumeMount:
- mountPath: /parseable/data
name: data-volume
- mountPath: /parseable/staging
name: stage-volume
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 128Mi

parseableConfig:
- name: parseable-server-config
cliArgs:
- local-store
env: |-
P_ADDR=0.0.0.0:8000
P_STAGING_DIR=/parseable/staging
P_FS_DIR=./data
P_USERNAME=admin
P_PASSWORD=admin
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/parseablehq/operator
go 1.19

require (
github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2
github.com/datainfrahq/operator-runtime v0.0.7
github.com/go-logr/logr v1.2.4
github.com/onsi/ginkgo/v2 v2.9.2
github.com/onsi/gomega v1.27.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2 h1:1PYNxv5hWSqapuou9LSDOlqO93X6iG4d9S7BESJTFr0=
github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2/go.mod h1:Pd4ny0zdmpQIBYtZnK1knh0DFqUQ6LIdi71DsAXDr3E=
github.com/datainfrahq/operator-runtime v0.0.7 h1:zxTj6frSkuzU3wrHodXV6qx8UrW7Kncm02Adtw8QCAM=
github.com/datainfrahq/operator-runtime v0.0.7/go.mod h1:PH2AK7xqxHZCW0f6kuTJ38tXxla18JxOCIqygIUy1KY=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down

0 comments on commit 424eaf9

Please sign in to comment.