{"id":41082038,"url":"https://github.com/neticdk/aks-win-oaas","last_synced_at":"2026-01-22T13:41:36.109Z","repository":{"id":88674996,"uuid":"425777436","full_name":"neticdk/aks-win-oaas","owner":"neticdk","description":"Showcase OaaS on AKS with Windows workers","archived":false,"fork":false,"pushed_at":"2026-01-19T07:38:49.000Z","size":45,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-19T16:26:06.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neticdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-08T09:39:12.000Z","updated_at":"2025-10-22T07:48:46.000Z","dependencies_parsed_at":"2025-06-16T07:37:45.268Z","dependency_job_id":"0c32a2e8-e35d-4263-b272-b572e4ae9189","html_url":"https://github.com/neticdk/aks-win-oaas","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/neticdk/aks-win-oaas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Faks-win-oaas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Faks-win-oaas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Faks-win-oaas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Faks-win-oaas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neticdk","download_url":"https://codeload.github.com/neticdk/aks-win-oaas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Faks-win-oaas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T13:41:35.350Z","updated_at":"2026-01-22T13:41:36.091Z","avatar_url":"https://github.com/neticdk.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows Container Observability\n\nSmall repository to showcase instrumenting Azure Kubernetes Service containing node pool with Windows worker nodes. The Terraform scripts\nwill create a AKS cluster and deploy Windows capable observabilit stack. A Grafana will be running inside of the cluster with a set of\ndashboards to show cluster wide data both from Windows and Linux hosts.\n\n## Window Workload\n\nA small workload based on Windows containers can be deployed by applying the following resources.\n\n```yaml\napiVersion: v1\nkind: Service\nmetadata:\n  name: win-webserver\n  labels:\n    app: win-webserver\nspec:\n  ports:\n    - port: 80\n      targetPort: http\n  selector:\n    app: win-webserver\n---\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  labels:\n    app: win-webserver\n  name: win-webserver\nspec:\n  replicas: 2\n  selector:\n    matchLabels:\n      app: win-webserver\n  template:\n    metadata:\n      labels:\n        app: win-webserver\n      name: win-webserver\n    spec:\n      containers:\n        - name: windowswebserver\n          image: mcr.microsoft.com/windows/servercore:ltsc2019\n          command:\n            - powershell.exe\n            - -command\n            - \"\u003c#code used from https://gist.github.com/19WAS85/5424431#\u003e ; $$listener = New-Object System.Net.HttpListener ; $$listener.Prefixes.Add('http://*:80/') ; $$listener.Start() ; $$callerCounts = @{} ; Write-Host('Listening at http://*:80/') ; while ($$listener.IsListening) { ;$$context = $$listener.GetContext() ;$$requestUrl = $$context.Request.Url ;$$clientIP = $$context.Request.RemoteEndPoint.Address ;$$response = $$context.Response ;Write-Host '' ;Write-Host('\u003e {0}' -f $$requestUrl) ;  ;$$count = 1 ;$$k=$$callerCounts.Get_Item($$clientIP) ;if ($$k -ne $$null) { $$count += $$k } ;$$callerCounts.Set_Item($$clientIP, $$count) ;$$ip=(Get-NetAdapter | Get-NetIpAddress); $$header='\u003chtml\u003e\u003cbody\u003e\u003cH1\u003eWindows Container Web Server\u003c/H1\u003e' ;$$callerCountsString='' ;$$callerCounts.Keys | % { $$callerCountsString+='\u003cp\u003eIP {0} callerCount {1} ' -f $$ip[1].IPAddress,$$callerCounts.Item($$_) } ;$$footer='\u003c/body\u003e\u003c/html\u003e' ;$$content='{0}{1}{2}' -f $$header,$$callerCountsString,$$footer ;Write-Output $$content ;$$buffer = [System.Text.Encoding]::UTF8.GetBytes($$content) ;$$response.ContentLength64 = $$buffer.Length ;$$response.OutputStream.Write($$buffer, 0, $$buffer.Length) ;$$response.Close() ;$$responseStatus = $$response.StatusCode ;Write-Host('\u003c {0}' -f $$responseStatus)  } ; \"\n          ports:\n            - name: http\n              containerPort: 80\n          resources:\n            limits:\n              cpu: 500m\n              memory: 512Mi\n            requests:\n              cpu: 500m\n              memory: 512Mi\n      nodeSelector:\n        kubernetes.io/os: windows\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneticdk%2Faks-win-oaas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneticdk%2Faks-win-oaas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneticdk%2Faks-win-oaas/lists"}