Skip to content

Commit bfd3708

Browse files
committed
Added lightspeed stuff
1 parent 3705df4 commit bfd3708

File tree

14 files changed

+140
-0
lines changed

14 files changed

+140
-0
lines changed

content/lightspeed/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,11 @@ Tested with:
9696
|---|---|
9797
|OpenShift|v4.17.14|
9898
|OpenShift Virt|v4.17.4|
99+
100+
101+
- Cross-cluster VM live migration (TP)
102+
- Light Speed
103+
- anyuid
104+
- Ingress encrypte anntionation
105+
- Deployment - RWO & Node anti afitnity ✅
106+
- Pod Logs permissions denied

content/lightspeed/iso-example.png

1.2 MB
Loading
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
name: route-issue
5+
labels:
6+
app: route-issue
7+
app.kubernetes.io/component: route-issue
8+
app.kubernetes.io/instance: route-issue
9+
app.kubernetes.io/name: route-issue
10+
app.kubernetes.io/part-of: route-issue
11+
app.openshift.io/runtime: nginx
12+
spec:
13+
replicas: 1
14+
selector:
15+
matchLabels:
16+
app: route-issue
17+
template:
18+
metadata:
19+
creationTimestamp: null
20+
labels:
21+
app: route-issue
22+
deployment: route-issue
23+
spec:
24+
containers:
25+
- name: route-issue
26+
image: quay.io/openshift-examples/otq-openshift/fixme-app:202511031025
27+
ports:
28+
- containerPort: 8080
29+
protocol: TCP
30+
resources: {}
31+
imagePullPolicy: Always
32+
restartPolicy: Always
33+
terminationGracePeriodSeconds: 30
34+
dnsPolicy: ClusterFirst
35+
securityContext: {}
36+
schedulerName: default-scheduler
37+
imagePullSecrets: []
38+
strategy:
39+
type: RollingUpdate
40+
rollingUpdate:
41+
maxSurge: 25%
42+
maxUnavailable: 25%
747 KB
Loading
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- deployment.yaml
5+
- service.yaml
6+
- route.yaml
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
You: The route is not available. Why?
2+
3+
OpenShift Lightspeed: The Route `fixme` is not functional because the associated Service `fixme` has a selector `app=fixmy`, but no Pods matching this label exist in the `fixme` namespace. Ensure Pods with the correct label (`app=fixmy`) are running to resolve the issue.
873 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
kind: Route
3+
apiVersion: route.openshift.io/v1
4+
metadata:
5+
name: fixme
6+
spec:
7+
to:
8+
kind: Service
9+
name: fixme
10+
weight: 100
11+
port:
12+
targetPort: 8080
13+
tls:
14+
termination: edge
15+
insecureEdgeTerminationPolicy: Redirect
16+
wildcardPolicy: None
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: fixme
5+
spec:
6+
selector:
7+
app: fixmy
8+
ports:
9+
- protocol: TCP
10+
port: 8080
11+
targetPort: 8080
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
---
3+
apiVersion: apps/v1
4+
kind: Deployment
5+
metadata:
6+
name: storage-issue
7+
labels:
8+
app: storage-issue
9+
app.openshift.io/runtime: redhat
10+
app.kubernetes.io/part-of: storage-issue
11+
spec:
12+
replicas: 2
13+
strategy:
14+
type: Recreate
15+
selector:
16+
matchLabels:
17+
app: storage-issue
18+
template:
19+
metadata:
20+
labels:
21+
app: storage-issue
22+
spec:
23+
automountServiceAccountToken: false
24+
volumes:
25+
- name: pvc
26+
persistentVolumeClaim:
27+
claimName: storage-issue
28+
containers:
29+
- name: tools
30+
volumeMounts:
31+
- mountPath: /pvc
32+
name: pvc
33+
image: registry.access.redhat.com/ubi9/ubi-micro:latest
34+
command:
35+
- "/bin/sh"
36+
- "-c"
37+
- "sleep infinity"

0 commit comments

Comments
 (0)