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

Commit 0a9e82f

Browse files
author
Marcos Pereira
authored
Release 1.0.3 (#54)
1 parent 1cf311e commit 0a9e82f

5 files changed

+687
-2
lines changed

build/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
33
### Required OpenShift Certified Labels
44
LABEL name="Akka Cluster Operator" \
55
vendor="Lightbend, Inc." \
6-
version="v1.0.0" \
7-
release="1.0.0" \
6+
version="v1.0.3" \
7+
release="1.0.3" \
88
summary="Kubernetes Operator for Akka Cluster applications." \
99
description="Manage applications designed for [Akka Cluster](https://doc.akka.io/docs/akka/current/common/cluster.html) and the Lightbend Platform."
1010

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: ClusterServiceVersion
3+
metadata:
4+
name: akka-cluster-operator-certified.v1.0.3
5+
namespace: placeholder
6+
annotations:
7+
capabilities: Seamless Upgrades
8+
categories: Application Runtime
9+
certified: 'true'
10+
containerImage: 'registry.connect.redhat.com/lightbend/akka-cluster-operator-certified:1.0.3'
11+
createdAt: '2019-06-28T15:23:00Z'
12+
description: Run Akka Cluster applications on Kubernetes.
13+
repository: https://github.com/lightbend/akka-cluster-operator
14+
support: 'Lightbend, Inc.'
15+
alm-examples: |-
16+
[
17+
{
18+
"apiVersion": "app.lightbend.com/v1alpha1",
19+
"kind": "AkkaCluster",
20+
"metadata": {
21+
"name": "akka-cluster-demo"
22+
},
23+
"spec": {
24+
"replicas": 3,
25+
"template": {
26+
"spec": {
27+
"containers": [
28+
{
29+
"name": "main",
30+
"image": "registry.connect.redhat.com/lightbend/akka-cluster-demo:1.1.0",
31+
"readinessProbe": {
32+
"httpGet": {
33+
"path": "/ready",
34+
"port": "management"
35+
},
36+
"periodSeconds": 10,
37+
"failureThreshold": 10,
38+
"initialDelaySeconds": 20
39+
},
40+
"livenessProbe": {
41+
"httpGet": {
42+
"path": "/alive",
43+
"port": "management"
44+
},
45+
"periodSeconds": 10,
46+
"failureThreshold": 10,
47+
"initialDelaySeconds": 20
48+
},
49+
"ports": [
50+
{
51+
"name": "http",
52+
"containerPort": 8080
53+
},
54+
{
55+
"name": "remoting",
56+
"containerPort": 2552
57+
},
58+
{
59+
"name": "management",
60+
"containerPort": 8558
61+
}
62+
]
63+
}
64+
]
65+
}
66+
}
67+
}
68+
}
69+
]
70+
spec:
71+
apiservicedefinitions: {}
72+
customresourcedefinitions:
73+
owned:
74+
- kind: AkkaCluster
75+
name: akkaclusters.app.lightbend.com
76+
version: v1alpha1
77+
description: An example Akka Cluster app that provides cluster visualization.
78+
displayName: Akka Cluster
79+
resources:
80+
- kind: ServiceAccount
81+
version: v1
82+
- kind: Role
83+
version: v1
84+
- kind: RoleBinding
85+
version: v1
86+
- kind: Deployment
87+
version: v1
88+
- kind: ReplicaSet
89+
version: v1
90+
- kind: Pods
91+
version: v1
92+
specDescriptors:
93+
- description: The desired number of pod instances in the Akka Cluster
94+
displayName: Replica Count
95+
path: replicas
96+
x-descriptors:
97+
- 'urn:alm:descriptor:com.tectonic.ui:number'
98+
- description: The template used to form the cluster
99+
displayName: Template
100+
path: template
101+
x-descriptors:
102+
- 'urn:alm:descriptor:com.tectonic.ui:text'
103+
statusDescriptors:
104+
- description: Information on the cluster
105+
displayName: Cluster
106+
path: cluster
107+
x-descriptors:
108+
- 'urn:alm:descriptor:text'
109+
- description: The last time the status changed
110+
displayName: Last Update
111+
path: lastUpdate
112+
x-descriptors:
113+
- 'urn:alm:descriptor:text'
114+
- description: 'The host of the (host,port) pair used to obtain the cluster status'
115+
displayName: Management Host
116+
path: managementHost
117+
x-descriptors:
118+
- 'urn:alm:descriptor:text'
119+
- description: 'The port of the (host,port) pair used to obtain the cluster status'
120+
displayName: Management Port
121+
path: managementPort
122+
x-descriptors:
123+
- 'urn:alm:descriptor:text'
124+
description: |
125+
The Akka Cluster Operator allows you to manage applications designed for
126+
[Akka Cluster](https://doc.akka.io/docs/akka/current/common/cluster.html).
127+
Clustering with [Akka](https://doc.akka.io/docs/akka/current/guide/introduction.html) provides a
128+
fault-tolerant, decentralized, peer-to-peer based cluster
129+
for building stateful, distributed applications with no single point of failure.
130+
Developers should use Akka Management v1.x or newer, with both Bootstrap and HTTP modules enabled.
131+
When deploying using the Akka Cluster Operator, only the `management port` needs to be defined.
132+
Defaults are provided by the Operator for all other required configuration.
133+
The Akka Cluster Operator provides scalability control and membership status information
134+
for deployed applications using Akka Cluster. As part of supervising membership of running clusters,
135+
this Operator creates a pod-listing ServiceAccount, Role, and RoleBinding suitable for
136+
each application. See the project [Readme](https://github.com/lightbend/akka-cluster-operator/blob/master/README.md)
137+
for more information and details.
138+
displayName: Akka Cluster Operator
139+
icon: # Akka icon from https://www.lightbend.com/brand
140+
- base64data: PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NTggMjcwIj48dGl0bGU+YWtrYS1mdWxsLWNvbG9yPC90aXRsZT48ZyBpZD0iYWtrYS1mdWxsLWNvbG9yIj48cGF0aCBkPSJNMzQ5LjY0LDEwNS40NlY5My4zNGgxOS45MnY1OC40NGMwLDcuMTMsMS42Niw5Ljc5LDYuMTQsOS43OSwxLjE3LDAsMi42Ni0uMTcsNC4xNS0uMzN2MTYuMWEyOC43MSwyOC43MSwwLDAsMS05Ljc5LDEuMzNjLTQuODEsMC04LjYzLS44My0xMS42Mi0yLjY2YTE1LjQxLDE1LjQxLDAsMCwxLTYuODEtMTAuMTJDMzQ1LjgyLDE3NC42OCwzMzYuMiwxNzksMzIyLjkyLDE3OUEzOS43NCwzOS43NCwwLDAsMSwyOTMsMTY2LjM4Yy04LTguNDYtMTItMTguNzUtMTItMzEuMnM0LTIyLjc1LDEyLTMxLjA1YTM5Ljc3LDM5Ljc3LDAsMCw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TEyLTE4Ljc1LTEyLTMxLjJzNC0yMi43NSwxMi0zMS4wNWEzOS43NywzOS43NywwLDAsMSwyOS44OC0xMi42MUM1OTQuNTksOTEuNTIsNjA0LjcyLDk3LjQ5LDYwNy44NywxMDUuNDZabS02LDQ4YTI0LjQyLDI0LjQyLDAsMCwwLDcuNDctMTguMjYsMjQuMzksMjQuMzksMCwwLDAtNy40Ny0xOC4yNiwyNC43OSwyNC43OSwwLDAsMC0xOC4xLTcuMzFBMjQsMjQsMCwwLDAsNTY2LDExNi45MmMtNC42NSw0LjgxLTcsMTEtNywxOC4yNnMyLjMyLDEzLjQ0LDcsMTguMjZhMjQsMjQsMCwwLDAsMTcuNzYsNy4zQTI0LjgyLDI0LjgyLDAsMCwwLDYwMS45LDE1My40NFoiIGZpbGw9IiMwYjU1NjciLz48cGF0aCBkPSJNMjMwLjI2LDIxMi44MmMzNS44OCwyOC42Nyw1OC45MS01NywxLjc0LTcyLjgyLTQ4LTEzLjI5LTk2LjMzLDkuNS0xNDQuNjYsNjIuNzRDODcuMzQsMjAyLjc0LDE3Ni42NywxNzAsMjMwLjI2LDIxMi44MloiIGZpbGw9IiMwYjU1NjciLz48cGF0aCBkPSJNODguMDgsMjAyYzM0LjQxLTM1LjY5LDkxLjY0LTc1LjUzLDE0NC45LTYwLjc1QTQ2LjA5LDQ2LjA5LDAsMCwxLDI1OS45LDE2MC42TDIwOS40OCw1OC43OGMtNy4yLTExLjQ2LTI1LjU4LTkuMTUtMzUuOTUtLjI2TDQwLjI5LDE3MC4wN2EyNy40LDI3LjQsMCwwLDAtMS41Niw0MC4xNWwwLDBhMjcuNCwyNy40LDAsMCwwLDM2LjUxLDJMODguMTQsMjAyWiIgZmlsbD0iIzE1YTljZSIvPjwvZz48L3N2Zz4=
141+
mediatype: image/svg+xml
142+
install:
143+
spec:
144+
deployments:
145+
- name: akka-cluster-operator
146+
spec:
147+
replicas: 1
148+
selector:
149+
matchLabels:
150+
name: akka-cluster-operator
151+
strategy: {}
152+
template:
153+
metadata:
154+
labels:
155+
name: akka-cluster-operator
156+
spec:
157+
containers:
158+
- command:
159+
- akka-cluster-operator
160+
env:
161+
- name: WATCH_NAMESPACE
162+
valueFrom:
163+
fieldRef:
164+
fieldPath: metadata.annotations['olm.targetNamespaces']
165+
- name: POD_NAME
166+
valueFrom:
167+
fieldRef:
168+
fieldPath: metadata.name
169+
- name: OPERATOR_NAME
170+
value: akka-cluster-operator
171+
- name: RELATED_IMAGE_CONTROLLER
172+
value: registry.connect.redhat.com/lightbend/akka-cluster-operator-certified:1.0.3
173+
image: registry.connect.redhat.com/lightbend/akka-cluster-operator-certified:1.0.3
174+
imagePullPolicy: Always
175+
name: akka-cluster-operator
176+
resources: {}
177+
serviceAccountName: akka-cluster-operator
178+
permissions:
179+
- serviceAccountName: akka-cluster-operator
180+
rules:
181+
- apiGroups:
182+
- ''
183+
resources:
184+
- pods
185+
- services
186+
- endpoints
187+
- persistentvolumeclaims
188+
- events
189+
- configmaps
190+
- secrets
191+
- serviceaccounts
192+
verbs:
193+
- '*'
194+
- apiGroups:
195+
- rbac.authorization.k8s.io
196+
resources:
197+
- roles
198+
- rolebindings
199+
verbs:
200+
- '*'
201+
- apiGroups:
202+
- ''
203+
resources:
204+
- namespaces
205+
verbs:
206+
- get
207+
- apiGroups:
208+
- apps
209+
resources:
210+
- deployments
211+
- daemonsets
212+
- replicasets
213+
- statefulsets
214+
verbs:
215+
- '*'
216+
- apiGroups:
217+
- monitoring.coreos.com
218+
resources:
219+
- servicemonitors
220+
verbs:
221+
- get
222+
- create
223+
- apiGroups:
224+
- apps
225+
resourceNames:
226+
- akka-cluster-operator
227+
resources:
228+
- deployments/finalizers
229+
verbs:
230+
- update
231+
- apiGroups:
232+
- app.lightbend.com
233+
resources:
234+
- '*'
235+
verbs:
236+
- '*'
237+
clusterPermissions:
238+
- rules:
239+
- apiGroups:
240+
- ""
241+
resources:
242+
- pods
243+
- services
244+
- endpoints
245+
- persistentvolumeclaims
246+
- events
247+
- configmaps
248+
- secrets
249+
- serviceaccounts
250+
verbs:
251+
- "*"
252+
- apiGroups:
253+
- rbac.authorization.k8s.io
254+
resources:
255+
- roles
256+
- rolebindings
257+
verbs:
258+
- "*"
259+
- apiGroups:
260+
- ""
261+
resources:
262+
- namespaces
263+
verbs:
264+
- get
265+
- apiGroups:
266+
- apps
267+
resources:
268+
- deployments
269+
- daemonsets
270+
- replicasets
271+
- statefulsets
272+
verbs:
273+
- "*"
274+
- apiGroups:
275+
- monitoring.coreos.com
276+
resources:
277+
- servicemonitors
278+
verbs:
279+
- get
280+
- create
281+
- apiGroups:
282+
- apps
283+
resourceNames:
284+
- akka-cluster-operator
285+
resources:
286+
- deployments/finalizers
287+
verbs:
288+
- update
289+
- apiGroups:
290+
- app.lightbend.com
291+
resources:
292+
- "*"
293+
verbs:
294+
- "*"
295+
serviceAccountName: akka-cluster-operator
296+
strategy: deployment
297+
installModes:
298+
- supported: true
299+
type: OwnNamespace
300+
- supported: true
301+
type: SingleNamespace
302+
- supported: false
303+
type: MultiNamespace
304+
- supported: true
305+
type: AllNamespaces
306+
labels:
307+
Name: AkkaClusterOperator
308+
maturity: stable
309+
minKubeVersion: 1.11.0
310+
provider:
311+
name: 'Lightbend, Inc.'
312+
keywords: ["Akka", "Akka Cluster", "Lightbend"]
313+
maintainers:
314+
- name: 'Lightbend, Inc.'
315+
316+
links:
317+
- name: Intro to Akka
318+
url: https://doc.akka.io/docs/akka/current/guide/introduction.html
319+
- name: Intro to Akka Cluster
320+
url: https://doc.akka.io/docs/akka/current/common/cluster.html
321+
- name: Akka Cluster demo application
322+
url: https://github.com/lightbend/akka-java-cluster-openshift
323+
- name: Deploying a Lagom application to OpenShift
324+
url: https://developer.lightbend.com/guides/openshift-deployment/lagom/index.html
325+
version: 1.0.3
326+
replaces: akka-cluster-operator-certified.v1.0.0
327+

0 commit comments

Comments
 (0)