Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
e8d61606
Commit
e8d61606
authored
3 years ago
by
Benedikt Wetzel
Browse files
Options
Downloads
Patches
Plain Diff
fix merge and generate new crd docs
parent
df90bdff
No related branches found
No related tags found
1 merge request
!261
Wait until the resources of the predecessor resourceSet are ready
Pipeline
#7298
failed
3 years ago
Stage: build
Stage: test
Stage: check
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/api-reference/crds.md
+458
-456
458 additions, 456 deletions
docs/api-reference/crds.md
theodolite/src/main/kotlin/theodolite/benchmark/RolloutManager.kt
+2
-3
2 additions, 3 deletions
...te/src/main/kotlin/theodolite/benchmark/RolloutManager.kt
with
460 additions
and
459 deletions
docs/api-reference/crds.md
+
458
−
456
View file @
e8d61606
This diff is collapsed.
Click to expand it.
theodolite/src/main/kotlin/theodolite/benchmark/RolloutManager.kt
+
2
−
3
View file @
e8d61606
package
theodolite.benchmark
import
io.fabric8.kubernetes.api.model.
KubernetesResource
import
io.fabric8.kubernetes.api.model.
HasMetadata
import
io.fabric8.kubernetes.api.model.apps.DaemonSet
import
io.fabric8.kubernetes.api.model.apps.Deployment
import
io.fabric8.kubernetes.api.model.apps.ReplicaSet
...
...
@@ -13,8 +13,7 @@ private var SLEEP_TIME_MS = 500L
class
RolloutManager
(
private
val
rolloutMode
:
RolloutMode
,
private
val
client
:
NamespacedKubernetesClient
)
{
fun
rollout
(
resources
:
List
<
KubernetesResource
>)
{
println
(
"MODE IS: ${rolloutMode.value}"
)
fun
rollout
(
resources
:
List
<
HasMetadata
>)
{
resources
.
forEach
{
K8sManager
(
client
).
deploy
(
it
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment