-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add scenario for logging pipeline
spawn a container that logs a single line then try to retrieve it from Loki API Refs: #2701
- Loading branch information
1 parent
c622948
commit 6527baa
Showing
3 changed files
with
147 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: $name | ||
namespace: metalk8s-logging | ||
spec: | ||
tolerations: | ||
- key: "node-role.kubernetes.io/bootstrap" | ||
operator: "Equal" | ||
effect: "NoSchedule" | ||
- key: "node-role.kubernetes.io/infra" | ||
operator: "Equal" | ||
effect: "NoSchedule" | ||
containers: | ||
- name: $name | ||
image: $image | ||
command: | ||
- echo | ||
- logging pipeline is working | ||
restartPolicy: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters