-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1369 from ryandawsonuk/1293-newrequestlogging
new request logging
- Loading branch information
Showing
29 changed files
with
881 additions
and
235 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
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,45 @@ | ||
--- | ||
# Permit co-located instances for solitary minikube virtual machines. | ||
antiAffinity: "soft" | ||
|
||
# Shrink default JVM heap. | ||
esJavaOpts: "-Xmx256m -Xms256m" | ||
|
||
podAnnotations: | ||
fluentbit.io/exclude: "true" | ||
|
||
replicas: 1 | ||
|
||
# Allocate smaller chunks of memory per pod. | ||
resources: | ||
requests: | ||
cpu: "200m" | ||
memory: "512M" | ||
limits: | ||
cpu: "1500m" | ||
memory: "1024M" | ||
|
||
# Request smaller persistent volumes. | ||
volumeClaimTemplate: | ||
accessModes: [ "ReadWriteOnce" ] | ||
storageClassName: "local-path" | ||
resources: | ||
requests: | ||
storage: 400M | ||
extraInitContainers: | | ||
- name: create | ||
image: busybox:1.28 | ||
command: ['mkdir', '-p', '/usr/share/elasticsearch/data/nodes/'] | ||
securityContext: | ||
runAsUser: 0 | ||
volumeMounts: | ||
- mountPath: /usr/share/elasticsearch/data | ||
name: elasticsearch-master | ||
- name: file-permissions | ||
image: busybox:1.28 | ||
command: ['chown', '-R', '1000:1000', '/usr/share/elasticsearch/'] | ||
securityContext: | ||
runAsUser: 0 | ||
volumeMounts: | ||
- mountPath: /usr/share/elasticsearch/data | ||
name: elasticsearch-master |
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
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,32 @@ | ||
kind: Cluster | ||
apiVersion: kind.sigs.k8s.io/v1alpha3 | ||
nodes: | ||
- role: control-plane | ||
- role: worker | ||
extraPortMappings: | ||
- containerPort: 30080 | ||
hostPort: 8003 | ||
- containerPort: 31380 | ||
hostPort: 8004 | ||
kubeadmConfigPatches: | ||
- | | ||
apiVersion: kubelet.config.k8s.io/v1beta1 | ||
kind: KubeletConfiguration | ||
metadata: | ||
name: config | ||
kubeReserved: | ||
cpu: "300m" | ||
memory: "300Mi" | ||
ephemeral-storage: "1Gi" | ||
kubeReservedCgroup: "/kube-reserved" | ||
systemReserved: | ||
cpu: "300m" | ||
memory: "300Mi" | ||
ephemeral-storage: "1Gi" | ||
evictionHard: | ||
memory.available: "200Mi" | ||
nodefs.available: "10%" | ||
featureGates: | ||
DynamicKubeletConfig: true | ||
RotateKubeletServerCertificate: true | ||
16 changes: 1 addition & 15 deletions
16
examples/centralised-logging/kubeflow/knative-setup-existing-istio.sh
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 |
---|---|---|
@@ -1,17 +1,3 @@ | ||
#this assumes installing to cloud and istio already installed e.g. with kubeflow | ||
|
||
kubectl apply --selector knative.dev/crd-install=true \ | ||
--filename https://github.com/knative/serving/releases/download/v0.8.0/serving.yaml \ | ||
--filename https://github.com/knative/eventing/releases/download/v0.8.0/release.yaml \ | ||
--filename https://github.com/knative/serving/releases/download/v0.8.0/monitoring.yaml | ||
|
||
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.8.0/serving.yaml \ | ||
--filename https://github.com/knative/eventing/releases/download/v0.8.0/release.yaml \ | ||
--filename https://github.com/knative/serving/releases/download/v0.8.0/monitoring.yaml | ||
|
||
kubectl label namespace default istio-injection=enabled | ||
|
||
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.8.0/eventing.yaml | ||
|
||
#kafka if you have a kafka cluster setup already | ||
#kubectl apply -f https://github.com/knative/eventing/releases/download/v0.8.0/kafka.yaml | ||
./../request-logging/install_knative.sh |
21 changes: 6 additions & 15 deletions
21
examples/centralised-logging/kubeflow/seldon-analytics-kubeflow.yaml
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 |
---|---|---|
@@ -1,15 +1,6 @@ | ||
grafana_prom_service_type: ClusterIP | ||
grafana_prom_admin_password: admin | ||
grafana_anonymous_auth: true | ||
grafana: | ||
virtualservice: | ||
enabled: true | ||
#trailing dash important and should be used when accessing | ||
prefix: "/grafana/" | ||
gateways: | ||
- kubeflow-gateway.kubeflow.svc.cluster.local | ||
extraEnv: | ||
#replace with KF gateway URI | ||
GF_SERVER_ROOT_URL: "%(protocol)s://%(domain)s/grafana" | ||
nodeExporter: | ||
port: 9200 | ||
prometheus: | ||
nodeExporter: | ||
hostNetwork: false | ||
service: | ||
hostPort: 9200 | ||
servicePort: 9200 |
Oops, something went wrong.