generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #3 from paulparkinson/main
Build MultiCloud Devops using Azure CI/CD Pipelines with Oracle Database Cloud Services workshop
- Loading branch information
Showing
20 changed files
with
497 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
|
||
|
||
- task: Kubernetes@1 | ||
displayName: Deploy ServiceMonitor | ||
inputs: | ||
connectionType: Kubernetes Service Connection | ||
kubernetesServiceEndpoint: $(kubernetesServiceConnection) | ||
namespace: default | ||
command: apply | ||
useConfigurationFile: true | ||
configuration: $(Pipeline.Workspace)/manifests/servicemonitor.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
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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: multicloudapp | ||
name: multicloudapp | ||
labels: | ||
app: multicloudapp | ||
release: stable | ||
spec: | ||
type: LoadBalancer | ||
ports: | ||
- port: 8080 | ||
selector: | ||
app: multicloudapp | ||
type: LoadBalancer | ||
ports: | ||
- port: 8080 | ||
name: http | ||
targetPort: 8080 | ||
selector: | ||
app: multicloudapp |
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,17 @@ | ||
## Copyright (c) 2024 Oracle and/or its affiliates. | ||
## Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: multicloudapp-monitor | ||
labels: | ||
app: multicloudapp | ||
release: prometheus | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: multicloudapp | ||
endpoints: | ||
- interval: 20s | ||
port: http | ||
path: /actuator/prometheus |
Oops, something went wrong.