Skip to content

Commit

Permalink
Added support for managed scaling of IndexerCluster
Browse files Browse the repository at this point in the history
Fixed naming of splunk.reconcile package
  • Loading branch information
mikedickey committed Mar 18, 2020
1 parent af5064e commit 3e0c19d
Show file tree
Hide file tree
Showing 40 changed files with 1,042 additions and 198 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ LABEL name="splunk" \
COPY build/_output/bin/splunk-operator ${OPERATOR}

COPY build/bin /usr/local/bin
RUN mkdir /licenses \
&& curl -o /licenses/apache-2.0.txt https://www.apache.org/licenses/LICENSE-2.0.txt \
&& curl -o /licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf \
&& /usr/local/bin/user_setup
RUN mkdir /licenses && /usr/local/bin/user_setup

COPY build/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf /licenses
COPY LICENSE /licenses/LICENSE-2.0.txt

ENTRYPOINT ["/usr/local/bin/entrypoint"]

Expand Down
Binary file not shown.
64 changes: 57 additions & 7 deletions deploy/all-in-one-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6705,18 +6705,25 @@ spec:
description: SearchHeadClusterMemberStatus is used to track the status
of each search head cluster member
properties:
activeSearches:
description: total number of active historical + realtime searches
active_historical_search_count:
description: Number of currently running historical searches.
type: integer
active_realtime_search_count:
description: Number of currently running realtime searches.
type: integer
adhoc_searchhead:
description: Flag that indicates if this member can run scheduled
searches.
type: boolean
is_registered:
description: Indicates if this member is registered with the searchhead
cluster captain.
type: boolean
name:
description: Name of the search head cluster member
type: string
registered:
description: true if this member is registered with the search
head captain
type: boolean
status:
description: Status of the search head cluster member
description: Indicates the status of the member.
type: string
type: object
type: array
Expand Down Expand Up @@ -8956,6 +8963,45 @@ spec:
- Terminating
- Error
type: string
indexing_ready_flag:
description: Indicates if the cluster is ready for indexing.
type: boolean
initialized_flag:
description: Indicates if the cluster is initialized.
type: boolean
maintenance_mode:
description: Indicates if the cluster is in maintenance mode.
type: boolean
peers:
description: status of each indexer cluster peer
items:
description: IndexerClusterMemberStatus is used to track the status
of each indexer cluster peer.
properties:
active_bundle_id:
description: The ID of the configuration bundle currently being
used by the master.
type: string
bucket_count:
description: Count of the number of buckets on this peer, across
all indexes.
format: int64
type: integer
guid:
description: Unique identifier or GUID for the peer
type: string
is_searchable:
description: Flag indicating if this peer belongs to the current
committed generation and is searchable.
type: boolean
name:
description: Name of the indexer cluster peer
type: string
status:
description: Status of the indexer cluster peer
type: string
type: object
type: array
phase:
description: current phase of the indexer cluster
enum:
Expand All @@ -8978,6 +9024,10 @@ spec:
selector:
description: selector for pods, used by HorizontalPodAutoscaler
type: string
service_ready_flag:
description: Indicates whether the master is ready to begin servicing,
based on whether it is initialized.
type: boolean
type: object
type: object
version: v1alpha2
Expand Down
64 changes: 57 additions & 7 deletions deploy/all-in-one-scoped.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6705,18 +6705,25 @@ spec:
description: SearchHeadClusterMemberStatus is used to track the status
of each search head cluster member
properties:
activeSearches:
description: total number of active historical + realtime searches
active_historical_search_count:
description: Number of currently running historical searches.
type: integer
active_realtime_search_count:
description: Number of currently running realtime searches.
type: integer
adhoc_searchhead:
description: Flag that indicates if this member can run scheduled
searches.
type: boolean
is_registered:
description: Indicates if this member is registered with the searchhead
cluster captain.
type: boolean
name:
description: Name of the search head cluster member
type: string
registered:
description: true if this member is registered with the search
head captain
type: boolean
status:
description: Status of the search head cluster member
description: Indicates the status of the member.
type: string
type: object
type: array
Expand Down Expand Up @@ -8956,6 +8963,45 @@ spec:
- Terminating
- Error
type: string
indexing_ready_flag:
description: Indicates if the cluster is ready for indexing.
type: boolean
initialized_flag:
description: Indicates if the cluster is initialized.
type: boolean
maintenance_mode:
description: Indicates if the cluster is in maintenance mode.
type: boolean
peers:
description: status of each indexer cluster peer
items:
description: IndexerClusterMemberStatus is used to track the status
of each indexer cluster peer.
properties:
active_bundle_id:
description: The ID of the configuration bundle currently being
used by the master.
type: string
bucket_count:
description: Count of the number of buckets on this peer, across
all indexes.
format: int64
type: integer
guid:
description: Unique identifier or GUID for the peer
type: string
is_searchable:
description: Flag indicating if this peer belongs to the current
committed generation and is searchable.
type: boolean
name:
description: Name of the indexer cluster peer
type: string
status:
description: Status of the indexer cluster peer
type: string
type: object
type: array
phase:
description: current phase of the indexer cluster
enum:
Expand All @@ -8978,6 +9024,10 @@ spec:
selector:
description: selector for pods, used by HorizontalPodAutoscaler
type: string
service_ready_flag:
description: Indicates whether the master is ready to begin servicing,
based on whether it is initialized.
type: boolean
type: object
type: object
version: v1alpha2
Expand Down
64 changes: 57 additions & 7 deletions deploy/crds/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6705,18 +6705,25 @@ spec:
description: SearchHeadClusterMemberStatus is used to track the status
of each search head cluster member
properties:
activeSearches:
description: total number of active historical + realtime searches
active_historical_search_count:
description: Number of currently running historical searches.
type: integer
active_realtime_search_count:
description: Number of currently running realtime searches.
type: integer
adhoc_searchhead:
description: Flag that indicates if this member can run scheduled
searches.
type: boolean
is_registered:
description: Indicates if this member is registered with the searchhead
cluster captain.
type: boolean
name:
description: Name of the search head cluster member
type: string
registered:
description: true if this member is registered with the search
head captain
type: boolean
status:
description: Status of the search head cluster member
description: Indicates the status of the member.
type: string
type: object
type: array
Expand Down Expand Up @@ -8956,6 +8963,45 @@ spec:
- Terminating
- Error
type: string
indexing_ready_flag:
description: Indicates if the cluster is ready for indexing.
type: boolean
initialized_flag:
description: Indicates if the cluster is initialized.
type: boolean
maintenance_mode:
description: Indicates if the cluster is in maintenance mode.
type: boolean
peers:
description: status of each indexer cluster peer
items:
description: IndexerClusterMemberStatus is used to track the status
of each indexer cluster peer.
properties:
active_bundle_id:
description: The ID of the configuration bundle currently being
used by the master.
type: string
bucket_count:
description: Count of the number of buckets on this peer, across
all indexes.
format: int64
type: integer
guid:
description: Unique identifier or GUID for the peer
type: string
is_searchable:
description: Flag indicating if this peer belongs to the current
committed generation and is searchable.
type: boolean
name:
description: Name of the indexer cluster peer
type: string
status:
description: Status of the indexer cluster peer
type: string
type: object
type: array
phase:
description: current phase of the indexer cluster
enum:
Expand All @@ -8978,6 +9024,10 @@ spec:
selector:
description: selector for pods, used by HorizontalPodAutoscaler
type: string
service_ready_flag:
description: Indicates whether the master is ready to begin servicing,
based on whether it is initialized.
type: boolean
type: object
type: object
version: v1alpha2
Expand Down
43 changes: 43 additions & 0 deletions deploy/crds/enterprise.splunk.com_indexerclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2200,6 +2200,45 @@ spec:
- Terminating
- Error
type: string
indexing_ready_flag:
description: Indicates if the cluster is ready for indexing.
type: boolean
initialized_flag:
description: Indicates if the cluster is initialized.
type: boolean
maintenance_mode:
description: Indicates if the cluster is in maintenance mode.
type: boolean
peers:
description: status of each indexer cluster peer
items:
description: IndexerClusterMemberStatus is used to track the status
of each indexer cluster peer.
properties:
active_bundle_id:
description: The ID of the configuration bundle currently being
used by the master.
type: string
bucket_count:
description: Count of the number of buckets on this peer, across
all indexes.
format: int64
type: integer
guid:
description: Unique identifier or GUID for the peer
type: string
is_searchable:
description: Flag indicating if this peer belongs to the current
committed generation and is searchable.
type: boolean
name:
description: Name of the indexer cluster peer
type: string
status:
description: Status of the indexer cluster peer
type: string
type: object
type: array
phase:
description: current phase of the indexer cluster
enum:
Expand All @@ -2222,6 +2261,10 @@ spec:
selector:
description: selector for pods, used by HorizontalPodAutoscaler
type: string
service_ready_flag:
description: Indicates whether the master is ready to begin servicing,
based on whether it is initialized.
type: boolean
type: object
type: object
version: v1alpha2
Expand Down
21 changes: 14 additions & 7 deletions deploy/crds/enterprise.splunk.com_searchheadclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2261,18 +2261,25 @@ spec:
description: SearchHeadClusterMemberStatus is used to track the status
of each search head cluster member
properties:
activeSearches:
description: total number of active historical + realtime searches
active_historical_search_count:
description: Number of currently running historical searches.
type: integer
active_realtime_search_count:
description: Number of currently running realtime searches.
type: integer
adhoc_searchhead:
description: Flag that indicates if this member can run scheduled
searches.
type: boolean
is_registered:
description: Indicates if this member is registered with the searchhead
cluster captain.
type: boolean
name:
description: Name of the search head cluster member
type: string
registered:
description: true if this member is registered with the search
head captain
type: boolean
status:
description: Status of the search head cluster member
description: Indicates the status of the member.
type: string
type: object
type: array
Expand Down
Loading

0 comments on commit 3e0c19d

Please sign in to comment.