-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Docs: Change Imagepull policy to IfNotpresent / Add loki-canary b…
…ase manifests (#1053)
- Loading branch information
1 parent
778c0b6
commit f755c59
Showing
3 changed files
with
79 additions
and
1 deletion.
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,42 @@ | ||
--- | ||
kind: DaemonSet | ||
apiVersion: extensions/v1beta1 | ||
metadata: | ||
labels: | ||
app: loki-canary | ||
name: loki-canary | ||
name: loki-canary | ||
spec: | ||
template: | ||
metadata: | ||
name: loki-canary | ||
labels: | ||
app: loki-canary | ||
spec: | ||
containers: | ||
- args: | ||
- -addr=loki:3100 | ||
image: grafana/loki-canary:latest | ||
imagePullPolicy: IfNotPresent | ||
name: loki-canary | ||
resources: {} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: loki-canary | ||
labels: | ||
app: loki-canary | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
app: loki-canary | ||
ports: | ||
- name: metrics | ||
protocol: TCP | ||
port: 3500 | ||
targetPort: 3500 | ||
|
||
|
||
|
||
|
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,36 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
labels: | ||
app: loki-canary | ||
name: loki-canary | ||
name: loki-canary | ||
spec: | ||
containers: | ||
- args: | ||
- -addr=loki:3100 | ||
image: grafana/loki-canary:latest | ||
imagePullPolicy: IfNotPresent | ||
name: loki-canary | ||
resources: {} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: loki-canary | ||
labels: | ||
app: loki-canary | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
app: loki-canary | ||
ports: | ||
- name: metrics | ||
protocol: TCP | ||
port: 3500 | ||
targetPort: 3500 | ||
|
||
|
||
|
||
|